Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make tests green again | Araq | 2018-05-14 | 1 | -2/+2 |
| | |||||
* | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -13/+14 |
| | |||||
* | added toOpenArray builtin for zero-copy slices; syntax sugar yet to come | Araq | 2018-03-24 | 1 | -1/+3 |
| | |||||
* | Static[T] fixes (#7333) | zah | 2018-03-24 | 1 | -0/+30 |
| | | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests | ||||
* | fixes #6489 | Araq | 2017-11-23 | 1 | -0/+2 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -4/+4 |
| | |||||
* | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -1/+1 |
| | |||||
* | Fix #5962 | Zahary Karadjov | 2017-06-20 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | During the instantiation of a generic type A, some other generic type B may be instantiated multiple times with different parameters. We can think about each instantiation as a function call that should temporary bind the parameter names to concrete types. The problem with the existing implementation in semtypinst was that it was performing this binding within a shared global table. In this sense, it was executing the code as a programming language featuring only global variables. In such a language, re-entrant functions cannot be defined properly and hence this was leading to problems with similar types. The solution is simple - just like we need to introduce stack frames to handle re-entrant functions, we introduce a stack of type bindings that are pushed and popped during the generic instantiations. | ||||
* | introduce a pre-processing pass for the concept bodies | Zahary Karadjov | 2017-06-20 | 1 | -3/+3 |
| | | | | | | | fixes #4982 fixes #3805 close #3414 | ||||
* | fixes tproctypecache_falsepositive.nim test case | Araq | 2017-06-08 | 1 | -1/+2 |
| | |||||
* | Restore the Nim's 0.14 proper handling of generic aliases | Zahary Karadjov | 2017-04-08 | 1 | -1/+2 |
| | | | | | | | | | | | 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 | ||||
* | fix tgenericshardcases | Zahary Karadjov | 2017-03-24 | 1 | -1/+2 |
| | |||||
* | Fix generic forward declarations; fixes #4104; fixes #4908 (#5566) | zah | 2017-03-23 | 1 | -3/+11 |
| | |||||
* | fixes #5430 | Araq | 2017-02-26 | 1 | -1/+1 |
| | |||||
* | big compiler refactoring; avoid globals for multi method dispatcher generation | Andreas Rumpf | 2017-02-22 | 1 | -3/+3 |
| | |||||
* | make tests green again | Araq | 2017-02-16 | 1 | -1/+3 |
| | |||||
* | fixes #5383 | Araq | 2017-02-16 | 1 | -3/+4 |
| | |||||
* | fixes #5285 | Andreas Rumpf | 2017-02-04 | 1 | -2/+9 |
| | |||||
* | remove remnants of tyIter | Jacek Sieka | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | fixes #4856 | Andreas Rumpf | 2016-10-20 | 1 | -1/+2 |
| | |||||
* | fixes #4673 | Andreas Rumpf | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4592 from arnetheduck/compiler-cleanup | Andreas Rumpf | 2016-08-25 | 1 | -30/+0 |
|\ | | | | | Compiler cleanup | ||||
| * | remove unused stuff | Jacek Sieka | 2016-08-09 | 1 | -30/+0 |
| | | |||||
* | | side-effect computation now done in the proper pass; fixes #4254 | Andreas Rumpf | 2016-08-25 | 1 | -3/+4 |
|/ | |||||
* | fixes #3055 | Andreas Rumpf | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | fixes #4177 | Andreas Rumpf | 2016-05-28 | 1 | -2/+4 |
| | |||||
* | fixes #4097 | Andreas Rumpf | 2016-04-19 | 1 | -7/+7 |
| | |||||
* | added experimental .this pragma | Andreas Rumpf | 2016-02-28 | 1 | -1/+43 |
| | |||||
* | fixes #3476 | Araq | 2015-10-27 | 1 | -2/+2 |
| | |||||
* | fixes #3338 | Araq | 2015-10-22 | 1 | -1/+7 |
| | |||||
* | renamed inCompilesContext to compilesContextId; added test case for #3313 | Araq | 2015-09-18 | 1 | -3/+3 |
| | |||||
* | fixes #3313 | Araq | 2015-09-18 | 1 | -4/+7 |
| | |||||
* | fixes #3329 | Araq | 2015-09-18 | 1 | -1/+1 |
| | |||||
* | usage of NimNode triggers .compileTime context; fixes #1679 | Araq | 2015-09-14 | 1 | -0/+2 |
| | |||||
* | fixes generic instantations in concepts | Araq | 2015-09-12 | 1 | -0/+3 |
| | |||||
* | Merge pull request #3177 from zah/generic-types-in-macros | Andreas Rumpf | 2015-08-14 | 1 | -12/+13 |
|\ | | | | | Generic types in macros | ||||
| * | fix #1858 again; restores the support for static macro params | Zahary Karadjov | 2015-08-02 | 1 | -12/+13 |
| | | |||||
* | | fixes #2752 | Araq | 2015-08-09 | 1 | -3/+4 |
|/ | |||||
* | fixes #2470, fixes #1354 | Araq | 2015-04-28 | 1 | -1/+3 |
| | |||||
* | fixes #2509 | Araq | 2015-04-11 | 1 | -1/+4 |
| | |||||
* | fixes #794 | Araq | 2015-03-07 | 1 | -16/+16 |
| | |||||
* | fixes #2215 | Araq | 2015-02-25 | 1 | -10/+11 |
| | |||||
* | fixes #2125 | Araq | 2015-02-18 | 1 | -8/+18 |
| | |||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | fixes #2004 | Araq | 2015-02-08 | 1 | -4/+9 |
| | |||||
* | Revert 5e4ae8d | Dustin Lacewell | 2015-01-07 | 1 | -13/+12 |
| | |||||
* | fix #1858; Add support for generic templates and macros | Zahary Karadjov | 2015-01-05 | 1 | -12/+13 |
| | | | | | | | | | Implementation notes: Just after overload resolution, the resolved generic params will be added to the call expression to be later processed in evalTemplate and evalMacroCall. These procs have been modified to handle the increased number of parameters, but one remaining issue is that immediate templates and macros don't go through the same process. The next commit will outlaw the use of generic parameters with such macros. | ||||
* | fix #1789 (binding to static params during generic proc sigmatch) | Zahary Karadjov | 2014-12-31 | 1 | -1/+3 |
| | |||||
* | fixes #1055 | Araq | 2014-11-16 | 1 | -3/+6 |
| | |||||
* | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -1/+1 |
| |