Commit Graph

1223 Commits

Author SHA1 Message Date
Araq
e6a50307bb fixes #885 2014-02-09 02:37:49 +01:00
Araq
0965351792 fixes #882; fixes #853 2014-02-09 00:58:18 +01:00
Araq
dbc8aa60e3 fixes 'newSeq[T]' instantiation bug 2014-02-09 00:41:53 +01:00
Araq
a087f6057e bugfix: codegen issue that caused getGMTime() to leak memory 2014-02-07 17:06:20 +01:00
Araq
3be07d842a fixes regression: constant fac4 didn't work 2014-02-06 02:41:53 +01:00
Araq
cc0a32ae87 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-02-06 00:27:10 +01:00
Araq
d912d18379 tyTypeDesc and tyRange always have 1 child; this might be tyNone but it is required for skipTypes 2014-02-05 23:43:13 +01:00
Araq
c097acedd3 bugfix: immediate templates are preferred consistently (danger: breaks code) 2014-02-04 17:29:34 +01:00
zah
672681dd4b Merge pull request #870 from barcharcraz/templaterr
Added better error messages for ill-formed generics
2014-02-04 01:17:15 -08:00
Charlie Barto
7cfec91057 deleted assert that would never fire because it turned into an error message 2014-02-04 00:07:17 -05:00
Charlie Barto
51076a0be6 added good error for stuff like string[int] or int[int] 2014-02-03 23:54:01 -05:00
Araq
99352c1e4c macro tests almost green 2014-02-03 17:35:03 +01:00
Araq
c30f6cfcf1 cleaned up command expressions 2014-02-02 14:34:37 +01:00
Araq
47e4f9698c fixes #844 2014-02-02 10:00:10 +01:00
Araq
efcbaa965e remove the old tester 2014-02-02 00:45:47 +01:00
Araq
4b47bee654 deactivated debug output 2014-02-02 00:02:57 +01:00
Araq
70eff919cd only 1 argument allowed for command expressions 2014-02-02 00:00:56 +01:00
Araq
0b8f68def0 tstringinterp almost working 2014-02-01 23:58:20 +01:00
Araq
31f3034c3a case consistency for evalffi 2014-02-01 23:57:09 +01:00
Araq
68d8cd1301 case consistency for evalffi 2014-02-01 23:56:32 +01:00
Araq
d8d93218fa bugfix: object constructor doesn't allow 'distinct' types 2014-02-01 11:56:21 +01:00
Dominik Picheta
92f7c479b9 Fixes #848. 2014-01-27 17:48:39 +00:00
Zahary Karadjov
5d712e0d3f Merge branch 'devel' of https://www.github.com/Araq/Nimrod into devel 2014-01-26 01:38:45 +02:00
Zahary Karadjov
5a6030a16b the is operator now uses exactly the same algorithm as proc signature matching 2014-01-26 00:45:50 +02:00
Araq
8a7f50889c fixes #838 2014-01-25 23:03:43 +01:00
Araq
f16881ad16 disable internalError so that nimbuild compiles again 2014-01-25 14:24:33 +01:00
Araq
9d4c4592fa more efficient calls for closure iterators 2014-01-25 14:22:38 +01:00
Araq
9af1ab5f43 fixes a minor parser bug 2014-01-25 14:22:05 +01:00
Zahary Karadjov
3f71b7f1f6 implements #766;
expressions such as Type.field are now recognised by the compiler.
This also fixes a bug, preventing the user-defined to check for the presence of
regular fields in addition to procs
2014-01-24 23:52:52 +02:00
Zahary Karadjov
a6a18be089 support for parametric user-defined type classes 2014-01-24 14:13:32 +02:00
Araq
f332ac1d37 renderer knows about nkStaticTy and nkTypeClassTy 2014-01-23 19:23:41 +01:00
Araq
3e5cb6644f typeClasses now documented in grammar.txt 2014-01-23 17:19:12 +01:00
Araq
556efb5158 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-01-23 12:22:49 +01:00
Araq
1465a7b080 small code cleanups 2014-01-23 12:22:34 +01:00
Araq
d01ff8994b closure iterators work 2014-01-23 08:47:22 +01:00
Araq
3f87326247 closure iterators almost work 2014-01-23 01:41:26 +01:00
Zahary Karadjov
9dec669b94 nest PreMain inside NimMain for easier consumption of static libraries developed in Nimrod
fixes many uses of $N instead of $n for new lines that don't affect #line directives
2014-01-23 00:01:15 +02:00
Araq
37229df7fc next steps for closure iterators 2014-01-22 17:32:38 +01:00
Araq
85a5bfe605 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-01-20 20:07:55 +01:00
Araq
4a0aadef4d parser support anon iterators 2014-01-20 20:07:44 +01:00
Zahary Karadjov
a09ddfa099 fix the segfault in #827 2014-01-20 15:22:44 +02:00
Araq
d18f40b4e2 updated grammar.txt 2014-01-20 08:35:09 +01:00
Araq
79f59d18f1 command syntax is allowed in expressions 2014-01-20 08:29:02 +01:00
Araq
15859d94ec compiler warns when you use GC'ed memory and '--gc:none' 2014-01-19 20:24:44 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq
a59939d295 it's the year 2014 2014-01-19 01:25:48 +01:00
Araq
6df259f15b 'inject' for the new symbol binding rules in templates 2014-01-19 01:25:23 +01:00
Araq
36afdca87f resolved conflicts with master 2014-01-18 01:16:45 +01:00
Araq
5073914b86 unittest module works again 2014-01-18 00:58:59 +01:00
Araq
383fbca27e better tester 2014-01-17 08:47:51 +01:00