summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* make typeToString sane for sequence againAndreas Rumpf2019-02-251-1/+1
|
* Fixes #10727. (#10728)deech2019-02-251-1/+5
|
* Handle IPv6 in bindAddr #7633Federico Ceratto2019-02-231-0/+14
| | | | Add test
* discard destroys its argument in-place (#9478)LemonBoy2019-02-231-0/+18
|
* Tuple unpacking now works for `for` vars (#10152)Neelesh Chandola2019-02-231-0/+39
| | | | | | | | * Tuple unpacking now works for `for` vars * Give error if length of tuple vars != length of tuple * Fix error message showing wrong tuple length * unpacking now works now for mutable items * Update changelog
* Open a new scope for `static:` expr blocks (#10649)LemonBoy2019-02-232-0/+16
| | | | Bring this in line with how plain blocks are analysed and avoids codegen errors if one references variables defined in such a block.
* Tighten the conversion from tyRange to scalar types (#10495)LemonBoy2019-02-231-0/+13
| | | | | | | | | * Tighten the conversion from tyRange to scalar types. Introduce the `isIntConv` rule for unsigned types. Do not allow mixed-signedness conversions between ranges and scalar types. * More json adjustments
* disable compile-time FFI supportAndreas Rumpf2019-02-231-1/+1
|
* FFI at CT (#10150)Timothee Cour2019-02-231-0/+81
| | | | | | * enable FFI at CT * rename useFFI=>nimHasLibFFI; improve formatting rawExecute traceCode * disable libffi on windows (works for win32, not yet win64)
* add tests for recently closed issues (#10722)Miran2019-02-239-1/+177
|
* gc:destructors: progressAndreas Rumpf2019-02-211-1/+10
|
* gc:destructors: add first test programAndreas Rumpf2019-02-191-0/+17
|
* Replace the duration conversion procs with new improved ones (#10710)Oscar Nihlgård2019-02-191-0/+9
|
* better docs: osproc (#10708)Miran2019-02-191-1/+1
| | | | | * better docs: osproc * fix a typo in the docs, deprecate "demon"
* fixes #10195Araq2019-02-191-0/+5
|
* error message for accidental use of macro (#10490)Arne Döring2019-02-192-0/+18
| | | | * error message for accidental use of macro
* fixes 10697 [backport]Araq2019-02-191-2/+13
|
* fixes #10702 (#10705)Andreas Rumpf2019-02-181-2/+32
| | | | | | * --define:nimQuirky exception handling for Nim; in preparation of a blog post * make it work with latest system.nim * make code more readable * fixes #10702
* Prevent crash on pragma templates w/ generics (#10685)LemonBoy2019-02-181-0/+7
| | | | | | | | | * Prevent crash on pragma templates w/ generics * Remove incorrect call to pragma reconversion `semOverloadedCall` may return a node with more elements than the original nkCall node had (implicit and/or explicit generics).
* Provide access to getsockname()/getpeername()Federico Ceratto2019-02-171-0/+4
| | | | Port of #3323 with added tests
* fixes #10651Araq2019-02-142-10/+37
|
* disable talloc2 on 32 bits (#10656)Arne Döring2019-02-131-36/+35
|
* 32 bit fixes (#10608)Arne Döring2019-02-1214-117/+117
|
* Propagate tfGcSafe flag to generic instantiations (#10620)LemonBoy2019-02-101-0/+11
| | | Fixes a nasty endless loop in the generic instantiation phase.
* revive #10228 (fix #9880) (#10610)Timothee Cour2019-02-104-10/+58
| | | | | | * Make index out of bounds more useful by including the 'bounds'. * fixes #9880 index out of bounds (remaining cases); revives #10228 * change err msg to: `index 3 not in 0 .. 1`
* Do not walk into type sub-nodes for cast/conv expr (#10616)LemonBoy2019-02-091-0/+18
|
* Misc macro things (#10612)LemonBoy2019-02-091-1/+1
| | | | | | | | | | | | * Misc cleanup in macro code Generate error messages using `error` instead of `assert`. Fixes #10574 * Fix crash with hasCustomPragma on quoted fields Use the `$` operator instead of reaching for the `strVal` field directly
* fixes #6955Andreas Rumpf2019-02-091-1/+10
|
* disable flaky coroutines testAndreas Rumpf2019-02-091-0/+1
|
* Print missing case labels (#10600)Arne Döring2019-02-092-1/+116
|
* make tests green againAndreas Rumpf2019-02-082-1/+2
|
* Fix wrong result in tuple assignment (#9340)LemonBoy2019-02-081-0/+15
| | | Fixes #9177
* error messages can have spaces, don't be dyslexicAraq2019-02-081-1/+1
|
* Rework exception handling in the VM (#10544)LemonBoy2019-02-082-0/+71
| | | | | | | | | | | | | | | | | * Rework exception handling in the VM Make the safepoint handling more precise and less forgiving. The new code is clearer and more commented. Perform cleanup on `return`. The no-exception-thrown case in a try block should be slightly faster since we don't parse the whole set of exceptions every time. More tests. * Fix silly error that broke a few tests * Testament doesn't like files having the same name * Remove test case that failed compilation to js
* Fix edge case in type hashing (#10601) [backport]LemonBoy2019-02-081-0/+15
| | | | Empty types introduced by a template produced the same hash of the "clean" type sharing the same name.
* Stop useless suggestion of unsafeAddr (#10598)LemonBoy2019-02-081-0/+7
| | | Fixes #10594
* Fix handling of reraise in effect tracking (#10582)LemonBoy2019-02-071-0/+12
| | | | | | This is the MVP in order not to get a completely useless error message from the compiler. Fixes #10579
* followup on #10573: prevent common user config to interfere with testament ↵Timothee Cour2019-02-071-0/+1
| | | | (excessiveStackTrace) (#10590)
* fix #10591 regression (#10592)Timothee Cour2019-02-061-1/+1
|
* Reject assignments with nkEmpty RHS (#9000)LemonBoy2019-02-061-0/+26
| | | Fixes #8997
* system refactorings (#10559)Andreas Rumpf2019-02-061-2/+2
| | | | | | | | * move IO subsystem into its own module; refs #10385 * make standalone test compile again * make C++ examples compile again * make more tests green * make sysAssert and gcAssert work again
* New implementation of times.between (#10523)Oscar Nihlgård2019-02-061-35/+138
| | | | | | | | * Refactor ttimes * New implementation of times.between * Deprecate times.toTimeInterval
* Avoid evaluating macros twice in type sections (#10550)LemonBoy2019-02-061-0/+15
| | | Fixes #10548
* Fix getCustomPragmaVal on `var` fieldsLemonBoy2019-02-061-0/+5
|
* prevent common user config to interfere with testament (#10573)Timothee Cour2019-02-062-1/+6
|
* Vm bitops fixes (#10520)Arne Döring2019-02-051-51/+16
|
* Implement {.booldefine.} (#10533)Oscar Nihlgård2019-02-031-0/+18
|
* Fix vm signed xor (#10519)Arne Döring2019-02-011-5/+11
| | | | | | | | | | * fix #10482 * undo changes * fix for bitwise not * remove dead opcode
* vm fix for bitwise signed ints (#10507)cooldome2019-01-311-0/+39
| | | | | | | | * fixes #10482 * add missing file * bug fix
* fix #8063 by adding a testcase for: Deprecation warnings for enum values ↵Timothee Cour2019-01-311-2/+25
| | | | print twice (#10508)