Commit Graph

18917 Commits

Author SHA1 Message Date
Zestyr
a06038be3f Update outdated ETimeout exception name 2019-05-07 01:28:33 +02:00
Araq
7804b5c558 nicer 'CC' output messages 2019-05-06 23:58:15 +02:00
Araq
2475d92c36 fixes #10192 2019-05-06 21:42:49 +02:00
Araq
a85d387928 fixes #10978 2019-05-06 21:42:49 +02:00
Araq
4032726e87 manual: add a section about aliasing restrictions for parameter passing; Spark inspired 2019-05-06 21:42:49 +02:00
Araq
8b9d59d973 koch.nim: nothing to do here 2019-05-06 21:42:49 +02:00
Oscar Nihlgård
4c6fc173b7 low/high for float ranges (#11177) 2019-05-06 21:19:40 +02:00
Dominik Picheta
abe634aefe Implements pending future tracking in async. 2019-05-06 17:18:30 +01:00
jcosborn
b1091f85d4 fixes #9578 (#11176)
* fixes #9578

* fixed and expanded test
2019-05-06 09:34:03 +02:00
Jasper Jenkins
1f207df7ae handle in semConst 2019-05-05 11:45:53 -07:00
Araq
0ecaaa85e9 fixes #9403 2019-05-05 16:08:16 +02:00
Jasper Jenkins
d4167c3f8c make work again 2019-05-05 03:46:02 -07:00
nc-x
e42c304e4a Fix loop tuple unpacking in templates (#11174)
* Fix loop tuple unpacking in templates

* Add test
2019-05-05 12:22:41 +02:00
Araq
094d71cb6f fixes #11175 2019-05-05 12:20:43 +02:00
Araq
a60305fbf3 fixes macros.quote documentation; doubling of the escape operator never worked! 2019-05-05 12:20:43 +02:00
Jasper Jenkins
ec099fc13f handle separately in backends 2019-05-05 01:15:31 -07:00
Clyybber
4fd79f5b47 Fix #11058 (#11172) 2019-05-05 08:26:22 +02:00
Araq
9348636cba docs: minor subjective improvement 2019-05-05 00:10:26 +02:00
Araq
6ed1f2b939 docs: minor subjective improvement 2019-05-05 00:04:06 +02:00
Federico Ceratto
70f5d7fc42 Run nimscript without "nim e" (#11121)
Add a link to nimscript.rst
Add a suggestion on disabling hints.
2019-05-04 23:54:05 +02:00
Federico Ceratto
90a7460d91 Document bit fields usage (#11011) 2019-05-04 23:31:05 +02:00
Jasper Jenkins
6e4ea40475 empty container param error msg (#11158) 2019-05-04 23:28:09 +02:00
Miran
ce152ed91f iterators: several small fixes (#11162)
* fix pairs, mpairs, mitems for cstring for JS backend
* add mutation check for pairs and mpairs for strings and seqs
* change the assertion message - modifying (changing elements) is not
  a problem, changing the length is
2019-05-04 23:02:50 +02:00
Miran
d2e1936cf2 tables: check for mutation when iterating (#11160) 2019-05-04 22:58:42 +02:00
Aditya Siram
cc2be5e4c6 Fixes #11045. Assigning a proc to const and invoking. (#11076) 2019-05-04 22:57:15 +02:00
genotrance
45759b5e90 Fix 105, few fixes for 101 (#11148) 2019-05-04 22:38:52 +02:00
nc-x
20e3a39d6c Fix nim doc ignoring doc comments with implicit returns and implicit conversions (#11173) 2019-05-04 22:35:00 +02:00
cooldome
d3db189eb4 Destructor lifting fixes #11149 (#11163)
* fixes #11149

* add test
2019-05-04 22:34:37 +02:00
Arne Döring
9c3e23e075 Fix ..< iterator (#11103)
* add iterator overloads

* add test
2019-05-03 23:43:41 +02:00
jrfondren
8cadeb9605 Merge branch 'devel' into expand-amb-identifier-output 2019-05-03 13:03:45 -05:00
narimiran
515ab81477 add whitespace on the right-hand side of --
This is an em-dash, not some `--use` flag.
2019-05-03 11:33:29 +02:00
Araq
9ad96b58e6 decent borrow check for --newruntime 2019-05-02 11:46:38 +02:00
Araq
1ff2b021a5 fixes #11114 2019-05-02 09:39:57 +02:00
Arne Döring
43749c4cb8 Append all output on failed test. (#11156) 2019-05-02 08:13:10 +02:00
Andreas Rumpf
e1515b53d1 introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145)
* introduce temporary <//> for 'owned' to get this compile with 0.19
* make newTable[string, owned Node]() compile (but it crashes)
* make sink/owned parameters consistent
* make actiontable test compile again
* VM: support sytem.move; makes tests green
2019-05-02 08:07:09 +02:00
Jasper Jenkins
0add3a6dc0 enable t9177. 2019-05-01 22:37:38 -07:00
Jasper Jenkins
8a6b416c28 const named tuple unpacking 2019-05-01 22:18:45 -07:00
genotrance
c94ab46923 Fix ospaths import error (#11150) 2019-05-01 08:54:02 +02:00
Jasper Jenkins
60e3d7930d discard type is an error, fixes #7470 (#11146) 2019-05-01 08:53:20 +02:00
Andrii Riabushenko
7cfc7cfb26 fixes #11118 2019-04-30 21:46:45 +01:00
Jasper Jenkins
3d0190f470 Fix unexpected result of rand on a range, fixes #11015 (#11035) 2019-04-30 09:28:28 +02:00
Arne Döring
9dbf56ba2b Update bug_report.md (#11123) 2019-04-30 09:27:38 +02:00
Julian Fondren
6dfde0e931 fix test expecting ambiguous-identifier error
the test is only against the first line, but testament doens't
support multi-line error messages yet.
2019-04-29 23:15:10 -05:00
Araq
bb8e2eea38 move analyser: fixes another critical bug 2019-04-29 21:06:38 +02:00
Julian Fondren
8274c0c6b3 balance space around emdash -- 2019-04-29 10:39:26 -05:00
jrfondren
0e1bc3f5ca fixes #11133, error on runtime use of compile-time procs in JS target (#11134) 2019-04-29 15:31:44 +02:00
Araq
6e3a4ebf6a added unown test case 2019-04-29 13:36:00 +02:00
Araq
0a84b8fb4d added system.unown to make 'owned' sane to use in practice; later on we might change the type inference rules to make it more convenient 2019-04-29 13:36:00 +02:00
jiro
ddc86d1b4b streams: Update documentation, refs #10330 (#11059) 2019-04-29 11:32:02 +02:00
Miran
737fff5902 Initialized collections (#11094)
* tables: initialized by default
* sets: initialized by default
* DRY: extract shared functionality
* add a changelog entry
* fix errors
* don't test include files
* make it work for sharedtables
* fix discovered bugs
* add exhaustive tests
2019-04-29 08:13:52 +02:00