Andreas Rumpf
e38a989a6f
Merge pull request #3036 from nanoant/patch/macros-sametype
...
macros: Introduce sameType(a, b) for node types
2015-07-04 16:12:09 +02:00
Fabian Keller
414d69ccea
added hash function for ordinal types
2015-07-03 11:19:17 +02:00
Adam Strzelecki
1a0417fbe0
macros: Introduce sameType(a, b) for node types
...
Previously introduced node comparison `==` was working somehow wrong on nodes
returned from getType(a), comparing just ids of the symbols.
Recently introduced `==` change 47dce26886
started comparing symbol nodes pointer-wise, thus strictly. Since getType(a)
always creates new symbol pointing to the type, comparing two such nodes using
`==` always returns false, even they point to the same type.
That is why we need a new sameType macro to be able to tell if these nodes
point to the same type.
2015-07-03 11:11:10 +02:00
Araq
60ac5e3e76
fixes #3046
2015-07-03 10:55:50 +02:00
Araq
cdc6529ccf
fixes #3038
2015-07-03 00:20:34 +02:00
Araq
560cfd48fc
fixes broken merge
2015-07-02 16:29:22 +02:00
Araq
cabbcd411d
implements varargs[untyped]; refs #2545 ; to be documented
2015-07-02 16:18:11 +02:00
Araq
de5113805a
tests\generics\tgenericprocmatcher.nim
...
disabled dubious constructs
2015-07-02 16:04:35 +02:00
Araq
87d69135b8
disabled unimportant old test
2015-07-02 14:57:02 +02:00
Araq
b159fc3b34
fixes #2993
2015-07-01 17:42:12 +02:00
Andreas Rumpf
2f9ad55fbd
Merge pull request #3025 from r-ku/3022_fix
...
Fixes #3022
2015-06-30 17:54:39 +02:00
r-ku
1a14e9d366
Fixes #3022
2015-06-30 17:52:18 +03:00
Araq
4cfe216a77
fixes #2880
2015-06-30 12:20:03 +02:00
Araq
a1caef474b
proper distinction between --gc:none and --os:standalone
2015-06-29 02:48:33 +02:00
Araq
87f65f5e72
preparations for more Nimble packages; clear licensing; fixes #2949
2015-06-20 23:24:21 +02:00
Dominik Picheta
e74012b396
Merge pull request #2961 from Perelandric/rename_writeLn
...
Renamed writeln to writeLine. Issue #2958
2015-06-20 16:25:37 +01:00
Dominik Picheta
25a5eaf722
Added test file for #2813 .
2015-06-20 11:37:29 +01:00
patrick dw
69e15ac32f
renamed writeln to writeLine in tests
2015-06-19 01:34:34 -05:00
Flaviu Tamas
90292754f5
Fix flaviut/nre#20
2015-06-18 12:44:12 -04:00
Araq
17cace280c
fixes #2297 , fixes #2946
2015-06-18 15:06:00 +02:00
Andreas Rumpf
116a60caeb
Merge pull request #2856 from fowlmouth/patch-4
...
made string compatible with openarray[char]
2015-06-15 21:04:50 +02:00
Araq
1452edfbb9
better test program
2015-06-14 22:51:29 +02:00
Andreas Rumpf
2782cddb56
Merge pull request #2903 from yglukhov/js-bracket-addr
...
Fixed addr of bracket expression. Fixes #2148 .
2015-06-13 20:31:47 +02:00
Oscar Campbell
7ca61f484b
Non-base10 overflow allowed if bit-stable. Tests.
2015-06-12 13:45:15 +02:00
Andreas Rumpf
70e157d79e
Merge pull request #2894 from nanoant/patch/macros-real-node-compare
...
Real node compare for macros
2015-06-12 00:33:09 +02:00
Andreas Rumpf
e36c12ee37
Merge pull request #2902 from yglukhov/js-copying-fix
...
Fixed copying of aggregates in JS.
2015-06-12 00:30:49 +02:00
Andreas Rumpf
d31fe7666a
Merge pull request #2818 from flaviut/add-nre
...
Add nre to stdlib
2015-06-12 00:13:19 +02:00
yglukhov
6436d1920c
Fixed copying of aggregates in JS.
2015-06-11 23:32:08 +03:00
yglukhov
f47081b300
Fixed addr of bracket expression. Fixes #2148 .
2015-06-11 18:32:22 +03:00
Oscar Campbell
ee3d390b3f
Revert from columnar layout. Remove temp-fix for 2857.
2015-06-10 19:52:26 +02:00
Adam Strzelecki
b49c75c82a
macros: Add test for node comparsion
2015-06-10 18:07:21 +02:00
Flaviu Tamas
9db6070d73
Fix nre tests
2015-06-07 13:12:19 -04:00
Flaviu Tamas
90ed34db72
Merge branch 'devel' of https://github.com/Araq/Nim into add-nre
...
* 'devel' of https://github.com/Araq/Nim :
Fix #964 , fix #1384
Don't inspect typedescs
2015-06-07 13:12:18 -04:00
Oscar Campbell
f0b6c03b26
Merge branch 'devel' into bugfix-2858-testament-sources-system-wide
2015-06-07 13:17:06 +02:00
Andreas Rumpf
380d617f86
Merge pull request #2867 from Araq/fix-2584
...
Fixes #2584
2015-06-07 10:51:35 +02:00
Araq
54750f608d
fixes #2774
2015-06-06 13:25:20 +02:00
Araq
a730a974ed
fixes #2854
2015-06-06 11:59:35 +02:00
Dominik Picheta
ad6ad5d8d0
s/procedure/routine/ in tests.
2015-06-05 14:53:49 +01:00
Andreas Rumpf
62376c0657
Merge pull request #2824 from yglukhov/js-ct-lambda-lifting
...
Perform lambda lifting for compile-time stuff when targeting JS.
2015-06-05 13:04:02 +02:00
Oscar Campbell
0a810fd10f
Treat unitest's default esc.seq. output as empty.
2015-06-04 22:53:39 +02:00
Oscar Campbell
cdf631c508
Merge branch 'devel' into bugfix-2858-testament-sources-system-wide
2015-06-04 22:43:18 +02:00
Dominik Picheta
5d6f16cc1a
Got rid of errUndeclaredProcedureField.
2015-06-04 16:39:38 +01:00
Dominik Picheta
22f6017ab8
Fixes #2584
...
Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
2015-06-04 13:55:48 +01:00
yglukhov
e9a57e9706
Fixed codegen for DotDot magic
2015-06-04 12:00:27 +03:00
Oscar Campbell
071ccf3d02
Add "safety compilation". Improved, fixed messages
...
- node ext searcher also looks for "iojs" if no node(js?) found.
- koch ensures the local work dir compiler is freshly compiled before executing the tests.
- the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed").
- fixed expectations in tmitems.nim test to match changes in json mod.
- re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
2015-06-04 07:33:27 +02:00
Oscar Campbell
51fc903dbf
Made pathing (hopefully) Windows friendly.
2015-06-03 13:08:28 +02:00
Oscar Campbell
bf9053315c
Ensure fresh compiler and local compiler + libs
2015-06-03 03:22:17 +02:00
fowlmouth
80a13a408e
added a test
2015-06-01 11:01:50 -05:00
yglukhov
c5f7d553e9
Perform lambda lifting for compile-time stuff when targeting JS. Enable unittest test.
2015-05-29 10:48:14 +03:00
Araq
8d508162e8
added missing test
2015-05-28 12:51:18 +02:00