summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7907 from GULPF/lexer-unicode-fixAndreas Rumpf2018-06-063-20/+27
|\ | | | | Lexer fix for multi byte characters
| * Combine some of the lexer tests into a single fileOscar Nihlgård2018-06-054-31/+27
| |
| * Multi byte characters should not be treated as part of an operatorOscar Nihlgård2018-06-031-0/+11
| |
* | Merge pull request #7967 from nitely/empty_openarray_7904Andreas Rumpf2018-06-061-0/+39
|\ \ | | | | | | support empty toOpenArray
| * | test negative range arraynitely2018-06-061-0/+14
| | |
| * | check bounds instead of indexnitely2018-06-051-0/+25
| | |
* | | Merge pull request #7770 from yglukhov/yield-in-tryAndreas Rumpf2018-06-054-10/+391
|\ \ \ | |/ / |/| | Yield in try
| * | Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-1511-17/+17
| |\ \
| * | | Review comments addressed. More thorough line info tracking.Yuriy Glukhov2018-05-101-2/+2
| | | |
| * | | More elaborate nkStmtListExpr loweringYuriy Glukhov2018-05-091-144/+315
| | | |
| * | | Yield in tryYuriy Glukhov2018-05-092-1/+204
| | | |
| * | | Extended tasync_in_seq_constr testYuriy Glukhov2018-05-091-6/+14
| | | |
| * | | Closure iter transformationYuriy Glukhov2018-05-091-2/+1
| | | |
* | | | Fix strformat neg zero (#7954)skilchen2018-06-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix strformat handling of neg zero with sign * better tests for neg zero with sign * use inplace insertion of the sign as suggested by Varriount
* | | | Fix strformat precision handling for strings (#7941)skilchen2018-06-041-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix strformat precision handling for strings * add some limited unicode awareness to the precision handling for strings * improvement suggested by Varriount: use setLen and runeOffset instead of runeSubstr
* | | | fixes #7906, array and openarray arg vs. ptr/ref generic (#7909)andri lim2018-06-041-27/+114
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment
* | | | Use higher time resolution when available in os.nim (#7709)Oscar Nihlgård2018-06-041-0/+10
| | | |
* | | | Fix for newStringOfCap in VM (#7901)Oscar Nihlgård2018-06-041-0/+8
| | | |
* | | | fix strformat zeropadding for floats (#7934)skilchen2018-06-011-1/+10
| | | |
* | | | Added $ for openarrays. Fixes #7940.data-man2018-06-011-0/+1
| | | |
* | | | Support multi byte characters in module names (#7916)Oscar Nihlgård2018-05-312-1/+9
| |_|/ |/| |
* | | fixes #7818, correct internal representation of generic objects array ↵andri lim2018-05-291-0/+45
| | | | | | | | | | | | | | | | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes
* | | Added: type name output when exception raised from unittest (#7869)七秒不觉梦2018-05-281-0/+10
| | |
* | | fix #7883; fix #7829Zahary Karadjov2018-05-261-0/+24
| | |
* | | fixes channels for --gc:regionsAndreas Rumpf2018-05-251-2/+2
| |/ |/|
* | make tests green againAraq2018-05-1411-17/+17
|/
* Modify hash for HashSet to use `xor` to mix hash of items.Lolo Iccl2018-05-091-4/+0
|
* Modify previous commit and add testsLolo Iccl2018-05-091-4/+52
|
* VM fix for refsOscar Nihlgård2018-05-081-0/+12
|
* implement the export/except statementZahary Karadjov2018-05-072-0/+7
|
* Bugfix: The compiler were not inserting proper downcasts for generic typesZahary Karadjov2018-05-072-1/+21
| | | | | | | This resulted in a codegen error in C++ mode, because the generic types were not defined in modules where calls requiring downcasts were used (generating a downcast forces the inclusion of the full definition of the involved types).
* Support thread-local variables declared inside procs; fixes #7565Zahary Karadjov2018-05-071-0/+78
|
* Backwards-compatible support for keyword arguments in the command syntaxZahary Karadjov2018-05-071-2/+3
|
* Bugfix: Allow matching on nkExprEqExpr against varargs[untyped]Zahary Karadjov2018-05-071-0/+15
| | | | | | | | | This enables macros accepting arbitrary keyword arguments: log("foo", prop1 = "bar", prop2 = "baz") As an added bonus, simple templates with varargs arguments can now forward their params to procs accepting keyword arguments.
* A motivating example for the new `bindSym` behavior.Zahary Karadjov2018-05-071-0/+154
| | | | | | | | The example is a proof-of-concept logging library, allowing you to define lexically-scoped environments where certain logging attributes are applied automatically to all logging statements. fixes tmacro1 (use of `bindSym` inside static blocks)
* Better support for treating templates and macros as symbols.Zahary Karadjov2018-05-071-0/+173
| | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs.
* make the tester compile without warningsAndreas Rumpf2018-05-061-4/+4
|
* update the changelogAndreas Rumpf2018-05-061-432/+0
|
* Merge branch 'devel' into araq-parser-fixesAndreas Rumpf2018-05-067-17/+23
|\
| * make tests greenAndreas Rumpf2018-05-056-17/+17
| |
| * Merge pull request #7624 from skilchen/fix-issue7620Dominik Picheta2018-05-031-0/+6
| |\ | | | | | | there is no hour 0 in am/pm time (see #7620)
| | * there is no hour 0 in am/pm timeskilchen2018-04-161-0/+6
| | |
* | | fixes #7582Andreas Rumpf2018-05-052-2/+13
|/ /
* | make tests greenAraq2018-05-021-9/+6
| |
* | make tests green againAndreas Rumpf2018-05-0218-102/+102
| |
* | make 'not nil' experimentalAndreas Rumpf2018-05-028-9/+13
| |
* | Don't hide overflow/underflow/divbyzero in semfold (#7732)Oscar Nihlgård2018-05-022-1/+24
| | | | | | | | | | * firstOrd/lastOrd bugfix * Don't hide overflow/underflow/divbyzero in semfold
* | make tests green againAraq2018-04-301-1/+1
| |
* | make more tests greenAraq2018-04-303-3/+1
| |
* | make more tests greenAndreas Rumpf2018-04-304-5/+5
| |