Commit Graph

1411 Commits

Author SHA1 Message Date
Araq
0e1167d64b made test green 2015-05-03 01:08:53 +02:00
Araq
e23857a98b fixes #2629, fixes #2641, fixes #2632, fixes #2630 2015-05-03 01:08:52 +02:00
Araq
7d3a6b42d9 fixes #2625 2015-05-03 01:08:48 +02:00
Araq
6d05ae26e6 fixes regression caused by code cleanups 2015-04-29 22:24:50 +02:00
Araq
26eae7d00e fixes #2470, fixes #1354 2015-04-28 20:21:53 +02:00
Araq
c6398d408d fixes #1888 2015-04-27 23:11:59 +02:00
Araq
e40b667891 fixes regression: overloading by 'var' 2015-04-25 23:17:00 +02:00
Araq
d3fc6e1f28 marshalling can be done at compile-time 2015-04-25 23:17:00 +02:00
Araq
6725aa3634 fixes #2517 2015-04-25 23:16:59 +02:00
Araq
2c91e999e2 fixes #2600 2015-04-25 23:16:58 +02:00
Araq
ecc0090939 fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with -d:release 2015-04-25 23:16:57 +02:00
Araq
4d20aafb5e fixes #2372 2015-04-25 23:16:57 +02:00
Araq
6ca38472a1 cleanups for underscores in tuple unpacking 2015-04-24 13:08:42 +02:00
Araq
c01d9d081b added test for #2536 2015-04-24 12:35:13 +02:00
Andreas Rumpf
6a016743aa Merge pull request #2566 from nanoant/parser-diagnostic-location
Parser: Fix location (line, col) for diagnostics
2015-04-24 12:33:11 +02:00
Dominik Picheta
f0f0062a5d Add sfGenSym for (_). 2015-04-23 00:29:16 +01:00
Dominik Picheta
9e69e4e078 Merge branch 'devel' into underscore-tuple-unpack
Conflicts:
	compiler/semstmts.nim
2015-04-23 00:26:17 +01:00
Araq
bcd8053b23 fixes #2585 2015-04-22 20:25:11 +02:00
Araq
54515241e3 fixes #2581 2015-04-22 12:04:10 +02:00
Araq
c69d74818e fixes #2550 2015-04-22 12:04:09 +02:00
Adam Strzelecki
dc1b15647c Parser: Test for exact missing ':' location column
This ensures compiler points to the right place when claiming that ':' is
missing.
2015-04-21 11:32:13 +02:00
def
fc76c93a19 Fix expected tester messages 2015-04-21 11:17:24 +02:00
Andreas Rumpf
3e2c086b1f Merge pull request #2575 from nanoant/test-for-error-location-column
Tests: Optional error location column spec
2015-04-21 08:51:16 +02:00
Araq
e55f5d1fd4 fixes #2505, fixes #1853, fixes #2522 2015-04-20 21:25:49 +02:00
Adam Strzelecki
505836385c Tests: Optional error location column spec
This allows some test to specify error location column, to ensure compiler is
generating diagnostics pointing to exactly right place of an error.
2015-04-20 21:03:57 +02:00
Araq
2b4e233510 Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-04-20 11:44:54 +02:00
Araq
9abfc60db4 parse 'of' branches for macros properly 2015-04-19 14:25:16 +02:00
Araq
89cbf092b2 fixes a serious codegen bug that caused to emit wrong barriers in rare cases 2015-04-19 13:36:22 +02:00
Araq
5cea6807e1 fixes #2476 2015-04-19 02:43:19 +02:00
Araq
5146624f0d disabled JS test 2015-04-18 01:18:23 +02:00
Andreas Rumpf
b4e938ca21 Merge pull request #2503 from ReneSac/arrowLike
Restrict arrow-like operators to those ending with `->`, `~>` or `=>`
2015-04-15 19:24:44 +02:00
Zahary Karadjov
6fb372d96b The getSubsystem<T> example in the manual currently fails with a codegen error
A faulty proc declaration is generated:
N_NIMCALL(System::Input*, SystemManager::getSubsystem<'*0>())(void);
The manual has been edited to add a nodecl pragma, which alleviates the issue

Fix a typo in the vector_iterator example from the previous commit.
2015-04-14 00:03:31 +03:00
Zahary Karadjov
1ebf1aaa80 importing of C++ nested generics like std::vector<T>::iterator, using the apostrophe operator 2015-04-13 23:49:41 +03:00
Araq
28ecf72f79 fixes #2498 2015-04-11 10:01:13 +02:00
Araq
06feaef64a fixes #1658 2015-04-11 10:01:12 +02:00
Araq
a1b937ab33 fixes #1691 2015-04-11 10:01:11 +02:00
Araq
c8dbeaa09b make test green 2015-04-11 10:01:11 +02:00
Araq
d89a20cc1d fixes #2509 2015-04-11 10:01:10 +02:00
Araq
65e01c8b68 make test green 2015-04-11 10:01:09 +02:00
ReneSac
34997292f4 Changing the rule for arrow like operators again. 2015-04-10 23:59:17 -03:00
Araq
49471440eb fixes #2481 2015-04-10 14:03:49 +02:00
Araq
10c1d7f519 minor lexer cleanups; fixes #2504 2015-04-10 14:03:48 +02:00
Araq
3a9500f7b1 fixes #2500 2015-04-10 14:03:47 +02:00
ReneSac
d71f1b98e0 Restore newline at the end of the file. 2015-04-09 18:51:30 -03:00
ReneSac
de34640098 Add tests for arrow like ops in tstrongspaces.nim 2015-04-09 17:01:40 -03:00
def
08575e2aec Add test case for infinite loop in RE 2015-04-09 17:28:26 +02:00
Andreas Rumpf
a2d3dff690 Merge pull request #2491 from ReneSac/strongSpacesFix
Apply strongSpaces to keyword operators too. Fix #1894.
2015-04-09 09:44:16 +02:00
Andreas Rumpf
4d0ee66f29 Merge pull request #2496 from BlaXpirit/js-header-comma
Fix JS codegen: proc header with compiletime arguments
2015-04-09 09:37:45 +02:00
Joseph Turner
e336da9dd9 Adds test file, for bug #1986 2015-04-09 05:00:11 +01:00
Oleh Prypin
57250ad281 Test JS proc header codegen 2015-04-09 04:21:50 +03:00