Commit Graph

1573 Commits

Author SHA1 Message Date
Araq
c733b3181e breaking change: symbol lookups in generics follows spec more closely; fixes #2664 2015-08-07 21:28:45 +02:00
Yuriy Glukhov
842a26317c Fixed defer test. 2015-08-07 00:20:40 +03:00
Araq
0d8942d45e destructors now work with overloaded assignment operators; fixes #2811; fixes #1632 2015-08-05 21:43:14 +02:00
Dominik Picheta
e2886eebb4 Merge pull request #3172 from Nycto/devel
Unittest module: Fix multiple requires in a test
2015-08-05 19:42:14 +01:00
Charles Blake
26f7a53d4a Merge ../Nim into devel 2015-08-04 16:13:45 -04:00
Araq
ab26298a03 added system.unsafeAddr 2015-08-04 17:31:18 +02:00
Charles Blake
5497c964d0 Move tests to stdlib. 2015-08-03 12:35:57 -04:00
Charles Blake
c373c7209a toString --> $. 2015-08-03 12:26:08 -04:00
Charles Blake
c6d609f88b Fix accidentally deleted inp argument. 2015-08-03 12:25:30 -04:00
Charles Blake
2d9a0c96c6 Merge ../Nim into devel 2015-08-03 08:06:20 -04:00
Zahary Karadjov
02f97489b7 fix #1858 again; restores the support for static macro params 2015-08-02 23:58:22 +03:00
Charles Blake
2252f80e72 Add some very simple tests for memfiles iterators. 2015-08-02 12:09:53 -04:00
Nycto
eac484167c Fix multiple requires in a test 2015-08-01 18:48:41 -07:00
Araq
41e8c9b9ac fixes #3158 2015-08-02 02:56:00 +02:00
Araq
5e325bc9f9 made test green again 2015-08-02 02:55:59 +02:00
Araq
bd786812e7 fixes #3171 2015-08-02 02:55:59 +02:00
Dominik Picheta
bd6e223065 Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim into l04m33-async_callback_issue_0412-2
Conflicts:
	lib/pure/asyncdispatch.nim
2015-07-26 22:03:48 +01:00
Dominik Picheta
1b9f2fdfe8 Merge pull request #3094 from fenekku/unittest-work
document unittest.nim + code agreement
2015-07-26 21:42:51 +01:00
Araq
beca7ded1b fixes #3144 2015-07-26 21:07:11 +02:00
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02:00
Araq
d82d430cbe fixes #2823 2015-07-24 01:04:40 +02:00
Andreas Rumpf
f052041648 Merge pull request #3137 from vegansk/findFile_absolute
Added absolute path support to options.findFile
2015-07-23 08:42:53 +02:00
Araq
5409142120 fix recently introduced regressions 2015-07-22 18:49:18 +02:00
Araq
8594faa543 fixes #2841 2015-07-22 17:08:21 +02:00
Araq
b0b716fca7 fixes #3079, fixes #1146, fixes #2879 2015-07-22 16:32:56 +02:00
Araq
862ee8d1d3 fixes #2963 2015-07-22 01:21:42 +02:00
Zach Aysan
94149f7a48 Update tests to proposed changes 2015-07-21 15:04:10 -04:00
Anatoly Galiulin
506b90cea8 Added absolute path support to options.findFile 2015-07-21 09:58:26 +06:00
Zach Aysan
d28862422b Add tests for chomp 2015-07-17 16:26:10 -04:00
Araq
e5d8988175 fixes #3112 2015-07-14 01:37:09 +02:00
Araq
622d7e4044 disabled dubious testcase 2015-07-14 01:37:07 +02:00
fenekku
464ec61e9c document unittest.nim + code agreement 2015-07-09 13:22:26 -04:00
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