Commit Graph

27 Commits

Author SHA1 Message Date
Andreas Rumpf
eeea000582 make the 'canimport' template work 2018-03-06 15:57:46 +01:00
Araq
f3a895f043 fixes #6965 2017-12-28 00:50:45 +01:00
Araq
8db5b32ff7 make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693 2017-12-15 12:16:03 +01:00
BigEpsilon
e2af486434 Add sections (type, var, let, const, using) support for reorder pragma (#6326) 2017-10-28 11:33:35 +02:00
Andreas Rumpf
dfe067a74a reorder pass: consider the 'using' statement; disabled debug output 2017-08-11 20:14:44 +02:00
Andreas Rumpf
50f62ff44a distinguish between 'reorder' and 'noforward' 2017-07-26 08:20:11 +02:00
Arne Döring
52f092d02b Lineinfo change (#6084) 2017-07-17 08:12:15 +02:00
Araq
280941aca6 make tests green again 2017-06-09 13:34:45 +02:00
Lolo Iccl
b6b5a11be7 Fixes #5112 (Fix error messages raised when multiple modules have the same original name) (#5220)
Fixes #5112
2017-01-17 16:58:50 +01:00
Araq
b1b2dd606b fixes #5076 2016-11-30 11:00:51 +01:00
Andreas Rumpf
01ae0d28d4 recursive modules are only detected to improve error messages 2016-11-24 12:27:21 +01:00
Araq
074f276c8a disallow recursive module dependencies 2016-11-23 23:23:31 +01:00
Andreas Rumpf
e9eab32e54 new language feature: explicit 'import system' statements are allowed 2016-07-07 01:02:12 +02:00
Adam Strzelecki
be991ed413 Rename rawsockets module to nativesockets
This change was done to avoid confusion with TCP/IP raw sockets. Native sockets
module represents handling native system low level socket API in general and is
not just limited anyhow to TCP/IP raw sockets.

A stub lib/deprecated/pure/rawsockets.nim module has been added as
compatibility layer for old code using rawsockets, so this change will not
break existing code.
2015-10-03 19:45:41 +02:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02: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
def
69e2b61c0a Fix tests a bit more 2015-03-10 15:34:15 +01:00
Araq
247af96b00 cleaned up some tests 2015-02-10 20:19:45 +01:00
def
f18368bd3b Clean up tests/modules 2015-02-04 22:09:42 +01:00
Araq
9500dfcc2e fixes #1612 2014-11-06 01:53:57 +01:00
Andreas Rumpf
51c875863e Merge pull request #1589 from Varriount/fix-1561
Fixes #1561
2014-11-02 14:16:19 +01:00
Araq
590461d88a updated the test 2014-10-31 21:13:02 +01:00
Varriount
a8a9dd6699 Fix #1561 2014-10-29 18:57:03 -04:00
Araq
2c5743db3e fixes #1029 2014-10-22 12:50:04 +02:00
Araq
fa77547310 fixes 'import x as y' regression 2014-10-22 01:54:27 +02:00
Simon Krauter
8b70e2c0e7 Added test case 2014-10-15 00:31:55 +02:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00