Andreas Rumpf
9abbe3ba69
Merge pull request #2564 from reactormonk/jpoirier-realtimeGCTest
...
Jpoirier realtime gc test
2015-05-14 02:06:11 +02:00
Simon Hafner
2bc1db7a30
run the C test too
2015-05-13 13:13:30 -05:00
Adam Strzelecki
a8fbaf917b
Tests for static class proc, methods & iterators
...
This currently covers #2662 & #2710 bugs.
2015-05-13 19:10:54 +02:00
Simon Hafner
9c4a74637d
Merge branch 'devel' into jpoirier-realtimeGCTest
2015-05-13 12:06:05 -05:00
Andreas Rumpf
31d472d83d
Merge pull request #2660 from MrJohz/contains-tables
...
Add contains proc for tables to allow usage of `in`
2015-05-08 02:19:45 +02:00
Andreas Rumpf
9422dbf337
Merge pull request #2657 from def-/noreturn
...
Pass noReturn pragma to C code.
2015-05-08 02:08:32 +02:00
Varriount
d3f69e14f7
Merge pull request #2596 from Nycto/devel
...
Fix floats in tuples in HashSets
2015-05-07 13:02:42 -04:00
Jonathan
8e4af5ace0
Add contains proc for tables to allow usage of in
2015-05-05 23:26:58 +01:00
def
c5db4fc3a2
Move the noreturn pragma to sysFatal
...
Now you can choose to implement sysFatal with --os:standalone so that it
returns.
2015-05-05 20:26:54 +02:00
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
Nycto
4f88238761
Fix floats in tuples in HashSets
...
Previously, the added tests would fail to compile with
errors complaining that 'hash(float)' didn't exist
2015-04-24 08:25:58 -07: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
Simon Hafner
c55f884b5c
integrated realtimegc stuff into testament
2015-04-13 22:36:35 -05: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