summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7992 from yglukhov/fromSockAddr-compile-errorAndreas Rumpf2018-06-081-0/+12
|\ | | | | Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddr
| * Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddrYuriy Glukhov2018-06-071-0/+12
| |
* | Fixes #7985Yuriy Glukhov2018-06-071-0/+19
|/
* Updated tests for CritBitTree $data-man2018-06-071-3/+3
|
* Cleanup copypaste leftoverYuriy Glukhov2018-06-071-4/+0
|
* Fixed yield in nkBlockExprYuriy Glukhov2018-06-071-0/+15
|
* Merge pull request #7550 from jangko/fix4799Andreas Rumpf2018-06-064-0/+305
|\ | | | | fixes #4799, varargs now can accept polymorphic types
| * fixed wrong testandri lim2018-06-061-4/+4
| |
| * combine/reduce testandri lim2018-06-057-105/+87
| |
| * fix test case outputandri lim2018-06-051-1/+1
| |
| * add more test to 4799andri lim2018-06-058-0/+323
| |
* | Fixed testsYuriy Glukhov2018-06-063-8/+24
| |
* | Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969.Yuriy Glukhov2018-06-061-0/+24
| |
* | 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
|