Andreas Rumpf
832b0a0232
fixes #12420 [backport] ( #12456 )
2019-10-18 22:13:24 +02:00
nc-x
b68380f09b
fixes #11872 ; include now gives a proper error message for all invalid infix operators ( #11965 )
2019-08-17 19:45:47 +02:00
nc-x
cf09ef47b8
Remove duplicate line number from 'invalid forward declaration' error ( #11966 )
2019-08-17 10:35:25 +02:00
Andreas Rumpf
7e53c1c5c5
fixes #11188 ( #11319 )
2019-05-24 22:50:43 +02:00
Andreas Rumpf
39a3dbb16b
fixes #11187 ( #11315 )
2019-05-24 08:19:05 +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
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
Andreas Rumpf
0121dda9ba
remove the restriction that module names need to be unique per Nimble… ( #11064 )
...
* remove the restriction that module names need to be unique per Nimble package
* make tests green again
* use the 'response' linker file also on Unix in order to fix megatest
2019-04-20 15:19:02 +02:00
Andreas Rumpf
444f2231c9
make tests green again
2019-02-08 16:54:12 +01:00
Timothee Cour
ab72d68ec8
fix off by 1 error in col shown by toFileLineCol ( #10138 )
...
* fix off by 1 error in `col` shown by toFileLineCol
* fix test failures
2018-12-31 15:42:01 +01:00
Andreas Rumpf
b53327c92a
fixes #9994
2018-12-15 14:30:21 +01:00
Andreas Rumpf
675b6f0773
fixes #9978
2018-12-14 17:15:03 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Neelesh Chandola
96647618c2
Fix compilation of test on linux and mac
2018-12-09 15:44:18 +05:30
Neelesh Chandola
81427b535d
Add final newlines
2018-12-09 13:57:17 +05:30
Neelesh Chandola
f77ddccb6c
add tests
2018-12-09 13:56:11 +05:30
Arne Döring
031bfdec6f
make run the default action of a test in tester
2018-11-23 11:58:28 +01:00
Arne Döring
77a0f3768b
adopt tests
2018-11-08 22:28:29 +01:00
awr
02306020b2
fix test
2018-09-04 18:25:54 -05:00
Oscar Nihlgård
96363ecaf3
Fix nkImportAs regression ( #8796 )
2018-08-28 11:35:52 +02:00
Oscar Nihlgård
d6d3f092a3
Fix for module alias inside brackets ( #8726 )
2018-08-23 10:23:02 +02:00
LemonBoy
bbe5e8326b
sfForward is also sfReorder for skModule symbols ( #8692 )
...
Take this into account while searching for undefined forward references.
Fixes #8665
2018-08-21 14:51:23 +02:00
Zahary Karadjov
cf13c5fba4
implement the export/except statement
2018-05-07 09:37:49 +02:00
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