summary refs log tree commit diff stats
path: root/tests/generics
Commit message (Collapse)AuthorAgeFilesLines
* Correct the spelling of the word 'overridden'. (#5212)mfxmfx2017-01-111-3/+3
|
* fix #4884Zahary Karadjov2017-01-081-0/+11
|
* further progress; more tests are greenAraq2016-11-281-1/+1
|
* fixes #4863Andreas Rumpf2016-10-191-0/+20
|
* fixes #4672Andreas Rumpf2016-09-011-0/+12
|
* fixes #4658Andreas Rumpf2016-08-261-0/+13
|
* fixes #4600Andreas Rumpf2016-08-231-0/+8
|
* fixes #4589Andreas Rumpf2016-08-101-0/+7
|
* fixes #4528Andreas Rumpf2016-08-081-0/+8
|
* make tests green againAndreas Rumpf2016-08-011-1/+1
|
* fixes #3055Andreas Rumpf2016-07-081-0/+28
|
* Fix generics inheritance issuesAnatoly Galiulin2016-06-231-0/+25
|
* Merge branch 'patch/fix-3496-generic-tmpl-args' of ↵Andreas Rumpf2016-05-291-0/+31
|\ | | | | | | https://github.com/nanoant/Nim into nanoant-patch/fix-3496-generic-tmpl-args
| * fixes #3496Adam Strzelecki2015-10-291-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem comes from the fact that macroOrTmpl[...] is transformed by semSubscript which is trying to evaluate macroOrTmpl identifier in place. This is okay for non-generic macros or templates, but wrong for generic ones, that do not have a chance to receive their generic arguments explicitly specified in brackets. Solution: 1. macroOrTmpl[...] where macroOrTmpl is non-generic macro or template, then macroOrTmpl is evaluated before applying brackets. (as before) 2. macroOrTmpl[...] where macroOrTmpl is generic macro or template, then if: a. It comes from macroOrTmpl[...](...) call expr (efInCall), then macroOrTmpl is turned into a symbol (efNoEvaluate) rather than evaluating it in place, then whole bracket expr is returned to semIndirectOp which transforms it to proper generic macro or template call with explicit generic arguments. b. macroOrTmpl[...] does not come from call expr, as above macroOrTmpl is transformed to symbol, then it is transformed into proper generic macro or template call with explicit generic arguments and no normal arguments.
* | fixes #4084Andreas Rumpf2016-04-291-0/+16
| |
* | fixes #3998Andreas Rumpf2016-03-281-0/+19
| |
* | fixes #3669Andreas Rumpf2016-03-011-0/+13
| |
* | use 'using' instead of 'sig' keyword; cleans up new features a bitAndreas Rumpf2016-02-293-5/+5
| |
* | Fix a few deprecation warningsdef2016-01-251-5/+5
| |
* | makes tests greenAndreas Rumpf2016-01-151-17/+17
| |
* | Merge branch 'devel' into new-llAndreas Rumpf2016-01-141-8/+17
|\ \
| * | fixes #3498Adam Strzelecki2015-10-301-8/+17
| |/ | | | | | | | | | | | | | | | | Previously it was not possible to use template arguments in template body as the symbols were not resolved correctly leading to Error: undeclared identifier: 'XX', eg.: template defaultOf[T](t: T): expr = (var d: T; d) echo defaultOf(1) #<- invalid identifier, but should output 0
* / fixes another regressionAndreas Rumpf2016-01-131-0/+17
|/
* fixes #3476Araq2015-10-271-0/+48
|
* sequtils related changesPeter Mora2015-10-052-1/+2
|
* fixing TypelessParam warning in x=>x+1, added testPeter Mora2015-09-221-0/+13
|
* fixes #2599Araq2015-09-133-1/+38
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-0417-71/+71
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* fixes #1965Araq2015-08-102-0/+11
|
* fixes #2752Araq2015-08-091-0/+27
|
* breaking change: symbol lookups in generics follows spec more closely; fixes ↵Araq2015-08-072-0/+21
| | | | #2664
* destructors now work with overloaded assignment operators; fixes #2811; ↵Araq2015-08-051-0/+20
| | | | fixes #1632
* fixes broken mergeAraq2015-07-022-3/+3
|
* implements varargs[untyped]; refs #2545; to be documentedAraq2015-07-022-2/+2
|
* tests\generics\tgenericprocmatcher.nimAraq2015-07-021-2/+2
| | | | disabled dubious constructs
* Fixes #3022r-ku2015-06-302-0/+34
|
* preparations for more Nimble packages; clear licensing; fixes #2949Araq2015-06-205-9/+4
|
* renamed writeln to writeLine in testspatrick dw2015-06-193-32/+32
|
* fixes #2509Araq2015-04-111-0/+21
|
* Use `^` instead of `-` in slicesdef2015-03-281-1/+1
|
* fixes #2221Araq2015-03-211-0/+9
|
* Rename PNimrodNode to NimNodedef2015-03-171-3/+3
|
* fixes #2304Araq2015-03-161-0/+11
|
* fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be usedAraq2015-03-101-0/+7
|
* Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-041-1/+1
|
* fixes #2169Araq2015-02-281-0/+118
|
* fixes #2125Araq2015-02-181-0/+68
|
* fixes #2004Araq2015-02-081-2/+1
|
* fixes #2022Araq2015-01-312-0/+97
|
* preparations for C++ template supportAraq2015-01-231-1/+1
|