summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Return typeof(nil) (#12100)Andreas Rumpf2019-08-313-2/+5
|\ | | | | | | | | | | * Allow typeof(nil) as a return type * $typeof(nil) is now "typeof(nil)", not "nil"
| * $typeof(nil) is now "typeof(nil)", not "nil"Albert Safin2019-08-311-1/+1
| |
| * Allow typeof(nil) as a return typeAlbert Safin2019-08-313-1/+4
| |
* | Support iterators returning lent T (#11938)cooldome2019-08-314-24/+50
|/ | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests
* typeToString can now show (recursively) resolved type aliases; fixes #8569 ↵Timothee Cour2019-08-312-200/+240
| | | | | | | | | | | #8083 #8570 (#11678) * nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests
* Remove ENDB (#12095)Clyybber2019-08-318-109/+18
|
* make testament a tool we ship with Nim; fixes #12084 (#12088)Andreas Rumpf2019-08-301-0/+1
| | | | | | * make testament a tool we ship with Nim; fixes #12084 * moved config to fit * adapt testament tests to use the testament binary
* fix #12037 (#12089)Clyybber2019-08-301-14/+3
|
* fixes #12042 (#12083)Andreas Rumpf2019-08-293-3/+13
| | | | | | * fixes #12042 * make tests green again
* fixes a critical type checking regressionAraq2019-08-291-1/+1
|
* fixes 5870 (#11704)Andreas Rumpf2019-08-292-24/+28
| | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages
* fixes #11941 (#12079)Andreas Rumpf2019-08-292-3/+8
|
* refactor sizealignoffset (#12077)Andreas Rumpf2019-08-285-213/+160
| | | | | | | | | | | | | | * small refactoring * refactor computeObjectOffsetFoldFunction with AccumObject * refactor packed object offstes fold function * refactor compute union object offsets fold function * merge normal/packed object offset fold function * compiletime offsetof in c++ inheritance objects * enable c++ inheritance offsetof tests * correct alignment for big sets/enums on weird 32bit platforms * uncomputedSize -> unknownSize * workaround for travis * fixes win32 alignment problems
* only store finally block in exception stack (#11876)Jacek Sieka2019-08-282-10/+12
|
* lift destructor for openarray (#12073)cooldome2019-08-284-12/+14
| | | | * destroy for sink openarray
* Refactored injectdestructors.nim (#11926)Clyybber2019-08-281-383/+342
| | | | One improvement over #devel is visible in the transformation of getEnv. With this approach we move to result whenever possible.
* Fix several float range issues (supersedes #11905) (#12067)Andreas Rumpf2019-08-275-3/+16
|\ | | | | | | | | | | * Fix several float range issues * address the comments
| * address the commentsnarimiran2019-08-273-7/+4
| |
| * Fix several float range issuesOscar Nihlgård2019-08-274-3/+19
| |
* | Fix to int to biggest int (#12066)Arne Döring2019-08-276-27/+3
| | | | | | | | | | * fix to(Biggest)Int * kill toFloat magics as well
* | fixes #12024 (#12065)Andreas Rumpf2019-08-271-0/+8
| |
* | fixes #12029; finish the 'unused import' feature (#12064)Andreas Rumpf2019-08-275-3/+9
| |
* | fixes #12056 (#12063)Andreas Rumpf2019-08-272-3/+6
|/
* fixes 9195 (#12055)Andreas Rumpf2019-08-272-3/+11
|
* semtypes.nim: more refactorings for liftParamTypeAndreas Rumpf2019-08-261-35/+37
|
* semtypes.nim: little refactoring for liftParamTypeAndreas Rumpf2019-08-261-26/+20
|
* fixes #12033 (#12039)Arne Döring2019-08-261-0/+4
|
* fixes #7258 (#12054)Andreas Rumpf2019-08-261-1/+25
|
* fixes #11833 (#12018)Andreas Rumpf2019-08-241-2/+0
|
* - adding _actual as a suffix only for calls to an actual proc and not ↵Viktor Kirilov2019-08-233-5/+10
| | | | | | through a global function pointer - fixes https://github.com/nim-lang/Nim/issues/11996 (#12007) - adding forward declarations for reloadable functions within a module - fix compilation errors when 2 such functions reference each other - fixes https://github.com/nim-lang/Nim/issues/11608 - preserve permissions of copied executable binaries
* Add build support for FreeBSD/PowerPC64 (#12011)Andreas Rumpf2019-08-231-1/+1
|\ | | | | | | | | | | | | | | * Add build support for FreeBSD PowerPC64 * Add build support for FreeBSD PowerPC64 * Add build support for FreeBSD PowerPC64
| * Add build support for FreeBSD PowerPC64lenoil982019-08-231-1/+1
| |
* | fixes #11958 (#12013)Andreas Rumpf2019-08-231-12/+11
| |
* | new gensym handling (#11985)Andreas Rumpf2019-08-238-28/+71
| | | | | | | | | | | | | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package
* | fixes #10854Andreas Rumpf2019-08-221-4/+2
|/
* fix compiletimeFFI (#11991)Timothee Cour2019-08-211-1/+1
|
* Consider range type of runtime discrim [feature] (#11432)Oscar Nihlgård2019-08-201-16/+45
|
* Nimpretty: fix #11937 (#11978)Andreas Rumpf2019-08-201-8/+8
|\ | | | | | | | | | | | | | | | | * cosmetic improvements * remove unused imports * make 'openPars' and 'closedPars' more readable * nimpretty: fix #11937 (wrong indentation)
| * nimpretty: fix #11937 (wrong indentation)narimiran2019-08-191-0/+3
| |
| * cosmetic improvementsnarimiran2019-08-191-8/+5
| | | | | | | | | | * remove unused imports * make 'openPars' and 'closedPars' more readable
* | fixes #11972Araq2019-08-201-0/+2
| |
* | nim check, fix #11927, no more empty strings (#11979)Miran2019-08-191-1/+3
|/
* Implement isExported for symbols in macros (#11963)nc-x2019-08-181-1/+10
| | | | | | | | * Implement isExported for macros * Reimplement isExported using VM callback mechanism * VM does not support exceptions, use stacktrace() instead.
* fixes #11872; include now gives a proper error message for all invalid infix ↵nc-x2019-08-171-0/+2
| | | | operators (#11965)
* Fixes #11118 (#11964)Andreas Rumpf2019-08-171-6/+5
|\ | | | | | | | | | | * fixes #11118 * Reset closure iter exception before rethrowing
| * Reset closure iter exception before rethrowingYuriy Glukhov2019-08-161-6/+5
| |
* | Remove duplicate line number from 'invalid forward declaration' error (#11966)nc-x2019-08-172-6/+7
| |
* | fixes 'e' command handling; now only does what advopt.txt claims it does ↵Andreas Rumpf2019-08-162-11/+12
| | | | | | | | | | | | | | (#11961) * fixes 'e' command handling; now only does what advopt.txt claims it does * address Timothee's remark
* | fixes #11819Araq2019-08-161-0/+1
| |
* | fixes #1188Araq2019-08-161-1/+1
| |