Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #5846 | Andreas Rumpf | 2017-06-29 | 1 | -2/+3 |
| | |||||
* | Fixes #5946 (#6017) | Yuriy Glukhov | 2017-06-26 | 1 | -2/+3 |
| | |||||
* | JS gen: fixes regression | Andreas Rumpf | 2017-06-26 | 1 | -7/+15 |
| | |||||
* | Fix #5084 | Zahary Karadjov | 2017-06-20 | 1 | -3/+6 |
| | |||||
* | Fix #5983 | Zahary Karadjov | 2017-06-20 | 2 | -1/+10 |
| | |||||
* | Fix #5888 | Zahary Karadjov | 2017-06-20 | 3 | -2/+7 |
| | |||||
* | Fix #4737 | Zahary Karadjov | 2017-06-20 | 3 | -5/+15 |
| | |||||
* | Fix #5127 | Zahary Karadjov | 2017-06-20 | 2 | -6/+7 |
| | |||||
* | Fix #4020; Better handling of templates within concepts | Zahary Karadjov | 2017-06-20 | 4 | -2/+9 |
| | |||||
* | fix #5968 | Zahary Karadjov | 2017-06-20 | 1 | -1/+3 |
| | |||||
* | fix #1082 | Zahary Karadjov | 2017-06-20 | 1 | -2/+4 |
| | |||||
* | fix #1017; fix #3309 | Zahary Karadjov | 2017-06-20 | 2 | -1/+8 |
| | |||||
* | fix #2730; fix #4880 | Zahary Karadjov | 2017-06-20 | 2 | -1/+9 |
| | |||||
* | fix #5017; fix #5893 | Zahary Karadjov | 2017-06-20 | 1 | -1/+3 |
| | |||||
* | fix #5864 | Zahary Karadjov | 2017-06-20 | 1 | -0/+2 |
| | |||||
* | add a useful helper for debugging typeRel problems | Zahary Karadjov | 2017-06-20 | 1 | -4/+26 |
| | |||||
* | Fix #5962 | Zahary Karadjov | 2017-06-20 | 2 | -16/+52 |
| | | | | | | | | | | | | | | | 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 | 11 | -60/+98 |
| | | | | | | | fixes #4982 fixes #3805 close #3414 | ||||
* | fix #5890 | Zahary Karadjov | 2017-06-20 | 1 | -1/+2 |
| | |||||
* | Fixes #5995 | Yuriy Glukhov | 2017-06-18 | 1 | -1/+1 |
| | |||||
* | Ascii character code 127 (DEL) is not printable and must be quoted. (#5984) | Markus F.X.J. Oberhumer | 2017-06-15 | 1 | -1/+1 |
| | | | This is a follow-up to #5823. | ||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-06-13 | 6 | -6/+28 |
|\ | |||||
| * | cgen: #undef some more predefined symbols. (#5831) | Markus F.X.J. Oberhumer | 2017-06-13 | 1 | -0/+10 |
| | | | | | | This is a followup to issue #5171. | ||||
| * | fixes #5959 | Araq | 2017-06-09 | 1 | -2/+1 |
| | | |||||
| * | fixes tproctypecache_falsepositive.nim test case | Araq | 2017-06-08 | 3 | -3/+11 |
| | | |||||
| * | restrict casting for closure. (#5948); fixes #5742 | Parashurama | 2017-06-07 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | * restrict casting for closure. This commit forbid casting a closure to anything other than another closure. use rawEnv/rawProc to access underlaying pointers. * better error message for closure cast * fixes #5742 | ||||
* | | fixes #5824 | Andreas Rumpf | 2017-06-13 | 1 | -1/+6 |
|/ | |||||
* | fix logical right shift in VM. (#5916) | Parashurama | 2017-06-05 | 1 | -1/+17 |
| | |||||
* | .partial object field names are left unmangled; mangling should be done by ↵ | Andreas Rumpf | 2017-06-05 | 1 | -1/+1 |
| | | | | the macro instead | ||||
* | first steps to allow easy functors via macros | Andreas Rumpf | 2017-06-04 | 4 | -20/+46 |
| | |||||
* | fixes #5933 | Andreas Rumpf | 2017-06-03 | 1 | -2/+17 |
| | |||||
* | fixes #4139 | Andreas Rumpf | 2017-06-03 | 1 | -8/+15 |
| | |||||
* | review and merge zahary's work (#5849) | zah | 2017-06-03 | 3 | -133/+199 |
| | | | | | | | | | * proper indentation for the generated JS code * improved dead-code elimination for JavaScript * test the JS dead-code elimination A new test spec has been added - "maxcodesize". It specifies the maximum size of the generated code in bytes. | ||||
* | improved comment satement support in macros (#5904) | Arne Döring | 2017-06-02 | 2 | -1/+2 |
| | |||||
* | fix right shift c codegen bug. (#5919) | Parashurama | 2017-05-31 | 1 | -3/+4 |
| | | | | | | * fix right shift c codegen bug. signed int must first be cast as unsigned before converting to larger integer. The C compiler will auto convert operands to the largest type. | ||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-05-31 | 1 | -0/+2 |
|\ | |||||
| * | Creating and setting comment nodes in macros (#5850) | Fredrik Høisæther Rasch | 2017-05-31 | 1 | -0/+2 |
| | | | | | | | | | | | | | | * strVal assingnable comment statement ast nodes * Set comment instead of strVal for comment nodes * Added test code for creating and setting comment nodes * Modified the AST spec documentation for documentation comments | ||||
* | | improve confusing error messages for failed overloading resolution when ↵ | Araq | 2017-05-31 | 1 | -1/+7 |
|/ | | | | deref of first arg failed | ||||
* | a few tiny cleanups (#5712) | Jacek Sieka | 2017-05-29 | 4 | -30/+12 |
| | | | exposes emitLazily (for nlvm) and simplifies some conditionals | ||||
* | Merge pull request #5823 from markus-oberhumer/ascii127-is-not-printable | Varriount | 2017-05-26 | 2 | -2/+2 |
|\ | | | | | Ascii character code 127 (DEL) is not printable. | ||||
| * | Ascii character code 127 (DEL) is not printable. | Markus F.X.J. Oberhumer | 2017-05-16 | 2 | -2/+2 |
| | | |||||
* | | niminst: add missing nimsuggest tool; small koch.nim cleanup | Araq | 2017-05-17 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'araq2' into devel | Araq | 2017-05-17 | 23 | -313/+656 |
|\ \ | |||||
| * | | cleanup of in/out covariance handling | Andreas Rumpf | 2017-05-17 | 5 | -35/+32 |
| | | | |||||
| * | | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-17 | 14 | -78/+293 |
| |\ \ | |||||
| | * | | fix affecting templates with explicit generic params | Zahary Karadjov | 2017-05-13 | 2 | -28/+8 |
| | | | | |||||
| | * | | fix tinvalidinout | Zahary Karadjov | 2017-05-13 | 1 | -3/+0 |
| | | | | |||||
| | * | | work-around for defining imported types with weak covariance | Zahary Karadjov | 2017-05-13 | 1 | -0/+16 |
| | | | | |||||
| | * | | enforce the covariance rules for user-defined generic types | Zahary Karadjov | 2017-05-13 | 5 | -17/+105 |
| | | | | |||||
| | * | | covariance for arrays and sequences | Zahary Karadjov | 2017-05-12 | 1 | -12/+40 |
| | | | |