summary refs log tree commit diff stats
path: root/tests/generics
Commit message (Collapse)AuthorAgeFilesLines
* fix a regrsesion in signature matching of derived ptr typesZahary Karadjov2017-04-181-0/+20
|
* fix a compilation error in linalgZahary Karadjov2017-04-161-0/+16
|
* fix #5689Zahary Karadjov2017-04-151-0/+68
|
* fix #5683Zahary Karadjov2017-04-141-0/+15
|
* fix #5643; fix #5644Zahary Karadjov2017-04-081-0/+30
|
* Restore the Nim's 0.14 proper handling of generic aliasesZahary Karadjov2017-04-084-0/+101
| | | | | | | | | | | A more efficient implementation is possible by restoring the old lifting ot tyGenericInvocation to tyGenericInst in liftTypeParam, but this fix will suffice for now. fixes #5087 fixes #5602 fixes #5641 fixes #5570
* attempt to fix #5632 typedesc typeRel regression (#5634)andri lim2017-03-311-0/+12
|
* attempt to fix #5621 #5615 generic ref object typeRel (#5633)andri lim2017-03-311-0/+42
|
* Working test cases for the sophisticated matrix library example from the manualZahary Karadjov2017-03-241-0/+29
| | | | | Fixed the dot operator when used within return types (see tgenericdotrettype) Fixed the matching of generic concepts aliases used with the implicit generics style
* fixes #5597; wrong eager template instantiation in generic context (#5601)Andreas Rumpf2017-03-241-0/+13
|
* fixes #5241, fixes #5411 inherit from specialized generic typeRel problem ↵andri lim2017-03-231-0/+65
| | | | (#5573)
* Fix generic forward declarations; fixes #4104; fixes #4908 (#5566)zah2017-03-232-10/+24
|
* 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
|