summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix complex typdesc iteratorsJasper Jenkins2019-05-081-0/+17
|
* Merge pull request #11132 from jrfondren/expand-amb-identifier-outputAndreas Rumpf2019-05-081-2/+2
|\ | | | | provide more useful ambiguous-identifier error output
| * Merge branch 'devel' into expand-amb-identifier-outputjrfondren2019-05-0319-19/+450
| |\
| * | fix test expecting ambiguous-identifier errorJulian Fondren2019-04-291-2/+2
| | | | | | | | | | | | | | | the test is only against the first line, but testament doens't support multi-line error messages yet.
* | | Merge pull request #11159 from JasperJenkins/const-named-tuple-unpackAndreas Rumpf2019-05-082-1/+21
|\ \ \ | | | | | | | | Const named tuple unpacking
| * | | enable t9177.Jasper Jenkins2019-05-011-1/+0
| | | |
| * | | const named tuple unpackingJasper Jenkins2019-05-011-0/+21
| | | |
* | | | Allow for locale-based parsing/formatting of dates (#11170)Matt Haggard2019-05-081-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow for locale-based parsing/formatting of dates * Updates based on review feedback of PR 11170 DateTimeLocale arrays are now indexed by Month and WeekDay enums. More sane date used for testing. Documentation newline. Case change of DefaultLocale (and make it public) * Add changelog entry for DateTimeLocale addition to times module * Use pattern symbols for DateTimeLocale attribute names
* | | | forbid casting to bare unchecked array (#11186)Arne Döring2019-05-082-2/+11
| | | | | | | | | | | | | | | | | | | | * fixes #11180, forbid casting to unchecked array. * allow UncheckedArray as param
* | | | Fix type recursion check (#11144)Arne Döring2019-05-071-0/+10
| | | | | | | | | | | | | | | | | | | | * fixes #3456 * add test #3456
* | | | Fixes for ptr array deref codegen (#11191)Jasper Jenkins2019-05-071-1/+17
| | | | | | | | | | | | | | | | | | | | * fixes for ptr array derefence codegen * fix comments, make diff nicer
* | | | fixes #10192Araq2019-05-061-0/+20
| | | |
* | | | low/high for float ranges (#11177)Oscar Nihlgård2019-05-061-0/+14
| | | |
* | | | fixes #9578 (#11176)jcosborn2019-05-066-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #9578 * fixed and expanded test
* | | | fixes #9403Araq2019-05-051-1/+20
| | | |
* | | | Fix loop tuple unpacking in templates (#11174)nc-x2019-05-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | * Fix loop tuple unpacking in templates * Add test
* | | | Fix #11058 (#11172)Clyybber2019-05-051-0/+11
| | | |
* | | | empty container param error msg (#11158)Jasper Jenkins2019-05-041-0/+5
| | | |
* | | | iterators: several small fixes (#11162)Miran2019-05-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * fix pairs, mpairs, mitems for cstring for JS backend * add mutation check for pairs and mpairs for strings and seqs * change the assertion message - modifying (changing elements) is not a problem, changing the length is
* | | | Fixes #11045. Assigning a proc to const and invoking. (#11076)Aditya Siram2019-05-041-0/+18
| | | |
* | | | Destructor lifting fixes #11149 (#11163)cooldome2019-05-041-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #11149 * add test
* | | | Fix ..< iterator (#11103)Arne Döring2019-05-031-2/+18
| |_|/ |/| | | | | | | | | | | | | | * add iterator overloads * add test
* | | add whitespace on the right-hand side of `--`narimiran2019-05-031-1/+1
| | | | | | | | | | | | This is an em-dash, not some `--use` flag.
* | | decent borrow check for --newruntimeAraq2019-05-021-5/+13
|/ /
* | added unown test caseAraq2019-04-291-0/+68
| |
* | make twidgets example green (#11135)Andreas Rumpf2019-04-283-11/+12
| |
* | Generic tuple recursion fix (#11115)Arne Döring2019-04-283-2/+11
| | | | | | | | | | * fixes #1145 * unify error messages
* | add progmas to params of macros.newProc (#11025)Lolo Iccl2019-04-271-0/+51
| | | | | | Merging
* | newruntime: progress...Andreas Rumpf2019-04-271-1/+4
| |
* | preparations to make the twidgets test workAraq2019-04-261-0/+74
| |
* | fixes #11095 (#11104)Andreas Rumpf2019-04-251-9/+25
| | | | | | * fixes #11095
* | fixes #11065Araq2019-04-221-2/+20
| |
* | fixes #11073Araq2019-04-221-0/+35
| |
* | revert discardable transformation (#10905)Andreas Rumpf2019-04-211-0/+20
| | | | | | | | | | | | | | | | | | | | * Revert "Properly wrap discarded statements (#10322)" This reverts commit 15584879b91e14565156ca140eef1dc100cf34c4. * add test for implicit discard after defer * enable t10241 again * make C++ tests green again
* | remove the restriction that module names need to be unique per Nimble… ↵Andreas Rumpf2019-04-205-3/+10
| | | | | | | | | | | | | | | | | | | | (#11064) * remove the restriction that module names need to be unique per Nimble package * make tests green again * use the 'response' linker file also on Unix in order to fix megatest
* | fixes #11053Andreas Rumpf2019-04-191-0/+92
| |
* | Fix varargs int32 (#11054)Arne Döring2019-04-181-0/+10
| | | | | | | | | | * fixes #10999 * adds a test for #10999
* | fixes #11050Araq2019-04-171-1/+20
|/
* revert parser stmtListExpr (#11007)cooldome2019-04-172-23/+2
| | | | | | | | | | | | | | | | | * Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)" This reverts commit 862897dc0f122e374c0e4d44770ffcd8825e51e3. * redo fix for #4035 * render stmtlistExpr using semicolon * Revert "render stmtlistExpr using semicolon" This reverts commit cafb78b8d5b125b5f6ba94248377a1433b3138cb. * revert test
* remove shadow warning, fixes #10732 (#11039)Miran2019-04-172-4/+3
|
* make move-analysis smarter; see tuse_ownedref_after_move test caseAraq2019-04-161-0/+60
|
* dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵Araq2019-04-163-4/+39
| | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix
* faster CountTable sort(), optional SortOrder (#11010)Andy Davidoff2019-04-161-15/+30
| | | | | | | | | * use existing sort for CountTable, and add SortOrder options to CountTable, OrderedTable sort(s) * add some tests, runnables, etc. * fix runnable imports
* Extend the fix for #11018 to strings (#11031)Clyybber2019-04-151-1/+9
| | | | | | * Extend the fix for #11018 to strings * Fix testcase
* fixes another regression; the behaviour of 'array' formatting was changedAraq2019-04-151-0/+8
|
* fixes #11012Araq2019-04-152-22/+18
|
* Fixes #11018 (#11019)Clyybber2019-04-141-0/+11
|
* fix reraise (#11017)cooldome2019-04-131-4/+8
|
* fixes #11004Araq2019-04-121-0/+7
|
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-113-0/+197
| | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet.