Araq
b3d759ca6d
fixes #681
2013-11-30 03:15:14 +01:00
Araq
2dcbc6493a
fixes #686
2013-11-29 20:42:12 +01:00
Zahary Karadjov
a068aaed3c
simple unit test and better documentation for the user defined type classes
2013-11-17 22:50:26 +02:00
Zahary Karadjov
9061b8961e
failing test for static params
2013-11-05 21:55:46 +02:00
Dominik Picheta
199c4d21bd
Fixed regression on ARM caused by the changed behaviour of noStackFrame in commit ac474a2812.
2013-10-19 21:01:32 +01:00
Araq
422327c010
fixed another semicolon related parsing bug
2013-10-02 07:57:30 +02:00
Araq
275c7ccf82
fixes #575
2013-09-10 22:04:12 +02:00
Araq
6cc06cd35d
fixes #569 ; C++ codegen works again
2013-08-31 02:07:52 +02:00
Zahary Karadjov
8682ed9bd0
pass-through of static int generic params to arrays when late instantiation is disabled
2013-08-23 01:10:20 +03:00
Zahary Karadjov
fee2a7ecfa
Experimental support for delayed instantiation of generics
...
This postpones the semantic pass over the generic's body until
the generic is instantiated. There are several pros and cons for
this method and the capabilities that it enables may still be possible
in the old framework if we teach it a few new trick. Such an attempt
will follow in the next commits.
pros:
1) It allows macros to be expanded during generic instantiation that
will provide the body of the generic. See ``tmacrogenerics``.
2) The instantiation code is dramatically simplified. Dealing with unknown
types in the generic's body pre-pass requires a lot of hacky code and error
silencing in semTypeNode. See ``tgenericshardcases``.
cons:
1) There is a performance penalty of roughly 5% when bootstrapping.
2) Certain errors that used to be detected in the previous pre-pass won't
be detected with the new scheme until instantiation.
2013-08-23 01:10:20 +03:00
Zahary Karadjov
ca3a4ce672
hacky fix for generic constraints matching
2013-08-19 01:48:25 +03:00
Zahary Karadjov
f127bc387a
Revert "Revert "test cases for the new features""
...
This reverts commit e1b668c868 .
2013-08-19 01:17:07 +03:00
Araq
1a5e30b053
made some tests green
2013-06-30 21:55:05 +02:00
Araq
1bdc0d1dd3
fixes lots of regressions
2013-06-29 10:04:18 +02:00
Araq
8f97f3180a
made tests green
2013-06-10 00:17:10 +02:00
Araq
b3ac785f95
fixes semicolon parsing issue
2013-06-03 08:05:32 +02:00
Araq
e1b668c868
Revert "test cases for the new features"
...
This reverts commit 66653e8f14 .
2013-05-27 23:16:00 +02:00
Zahary Karadjov
66653e8f14
test cases for the new features
2013-05-26 22:15:30 +03:00
Araq
7b36d3d6ff
made some tests green
2013-05-19 17:06:11 +02:00
Araq
23bd3ccd8b
Merge branch 'master' into newparser
2013-05-04 19:10:12 +02:00
Araq
f8af7ed6b4
more intuitive behaviour for 'discardable' in expression bodies
2013-05-04 18:58:58 +02:00
Zahary Karadjov
05fd46cdd1
failing test case demonstrating how generic arguments are preferred to
...
openarray and varargs arguments
2013-05-04 02:30:15 +03:00
Araq
5975001201
added distinct array test
2013-04-23 13:53:19 +02:00
Araq
4e6b81e341
fixes #395
2013-04-23 13:44:38 +02:00
Araq
3cb3813eed
fixes #287 ; bugfix: subrange checking is performed again
2013-04-12 16:24:58 +02:00
Araq
908383e4ca
fixes #321
2013-04-08 20:18:33 +02:00
Araq
bb3f648bd2
improvements for destructors
2013-04-08 00:10:34 +02:00
Dominik Picheta
5267984985
Deprecated recvLine and added an improved version named readLine to the
...
sockets module.
2013-03-23 20:13:11 +00:00
Araq
c9ed846a43
added system.locals
2013-03-21 21:28:46 +01:00
Araq
65319ba22d
fixes #332
2013-03-17 23:40:03 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
5b7df8ed60
Merge pull request #359 from Tass/master
...
JS unwinding
2013-03-16 09:45:39 -07:00
Simon Hafner
129fcb327f
used correct syntax for multiline results in tests
...
And also modified the runner to actually run them in JS.
2013-03-16 07:21:31 -05:00
Araq
78b27ed7fa
bugfix: 'indexOf' for tuple fields works
2013-03-11 08:42:35 +01:00
Simon Hafner
d34f95d194
nestedTryStmts removed
...
It makes tests fail and they work fine without. Given my ignorance of
the exact workings, I can only rely on the tests.
2013-03-10 19:49:02 -05:00
Araq
2b4922aea0
object constructors work now
2013-03-08 01:19:47 +01:00
Araq
16821e31be
bugfix: tvtable works again
2013-03-05 07:39:52 +01:00
Araq
d13bcf6575
better overloading resolution for generics
2013-02-28 21:28:19 +01:00
Simon Hafner
7168ceb5e1
removed $ for refs upon request
2013-02-21 16:37:22 -06:00
Simon Hafner
e366eeaafc
added $ for refs and removed == for ref test
...
== in refs should use the pointer to compare
2013-02-21 16:31:35 -06:00
Simon Hafner
bf82f79f1e
added tests, actually implemented $ and ==
2013-02-21 15:11:48 -06:00
Simon Hafner
7fc9dfcb24
added tests for == and $
2013-02-21 14:29:39 -06:00
Araq
d15981adbc
system.fields|fieldPairs for objects
2013-02-18 17:23:26 +01:00
Araq
0d978c4a9a
fixed some closure related bugs
2013-01-22 00:29:54 +01:00
Dominik Picheta
be51e8b61b
Reverted my 'do notation' fixes.
2013-01-20 17:34:43 +00:00
Dominik Picheta
b9d75f8944
Fixed a bug with the 'do notation' consuming statements after it.
2013-01-20 12:47:25 +00:00
Araq
a4b1ca3306
fixed merge conflict
2013-01-16 20:02:55 +01:00
Araq
c43697b59a
implemented generic multi methods
2013-01-16 08:42:30 +01:00
Araq
b3e70febb4
'sort' for ordered tables
2013-01-12 23:59:29 +01:00
Araq
63c08d8255
Merge pull request #296 from gradha/pr_makes_toseq_public
...
Moves toSeq template to public sequtils module.
2013-01-08 13:53:50 -08:00