summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* allows a destructor to be attached to a tyString/tySequenceAndreas Rumpf2018-07-272-8/+8
|
* tySequence has a tfHasAsgn flag consistentlyAndreas Rumpf2018-07-221-1/+4
|
* ast.nim: remove space for unary operatorAndreas Rumpf2018-07-221-1/+1
|
* --gc:destructors: next steps; WIPAndreas Rumpf2018-07-215-43/+79
|
* fix merge conflictAndreas Rumpf2018-07-1820-114/+149
|\
| * Fix #8345 (#8350)Aaron Levine2018-07-181-0/+1
| |
| * let runnableExamples start in a new paragraph (#8355)skilchen2018-07-181-1/+1
| | | | | | fixes #8121, fixes #8346
| * Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-07-171-0/+9
| |\
| | * Extend init variable tracking to tuple assignments (#8321)LemonBoy2018-07-171-0/+9
| | | | | | | | | Fixes #8314
| * | VM: accessing the string terminator is not allowed anymore; cleanup ↵Andreas Rumpf2018-07-171-1/+3
| |/ | | | | | | tests/system/tostring.nim
| * fixes #8230Andreas Rumpf2018-07-171-0/+4
| |
| * sigmatch: no trailing whitespaceAndreas Rumpf2018-07-171-5/+5
| |
| * Make pragmas look clickable in docs (#8176)Quelklef2018-07-171-3/+11
| | | | | | | | * Visual cues for hidden pragmas in docs. * Add hover cue
| * Gdb pretty printers (#8263)Arne Döring2018-07-161-3/+3
| |
| * Resolve converter call to constants in case arms (#8336)LemonBoy2018-07-161-1/+4
| | | | | | Fixes #8333
| * fix #7405 and #8195 (#8198)Timothee Cour2018-07-163-26/+25
| | | | | | | | | | | | | | | | * fix #7405 and #8195 * control pushInfoContext in semExprNoType,genStmts via a new hintExtendedContext; make NotesVerbosity computation more DRY * addressed comments
| * Bugfix for modules with multi byte characters in the name (#8319)Oscar Nihlgård2018-07-141-1/+1
| |
| * Do not crash while instantiating a generic outside a call (#8279)LemonBoy2018-07-141-1/+4
| | | | | | Fixes #8270
| * Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-132-31/+16
| |
| * Give different names to objects coming from cpp files (#8278)LemonBoy2018-07-131-4/+1
| | | | | | | | Prevent some nasty linker errors if the user switches between c and cpp backends.
| * Do not consider enums with holes as ordinals (#8264)LemonBoy2018-07-122-8/+8
| | | | | | | | | | | | Make the compiler behave consistently with respect to what's written in the manual. Fixes #1239
| * Correctly hash inferred types (#8286)LemonBoy2018-07-121-1/+1
| | | | | | | | | | | | | | We don't really want to hash the tyInferred container since that'd make the "real" type and its inferred counterpart produce different hashes and types for the very same type. Fixes #8280
| * make runnableExamples use a private nimcache so that they can be tested in ↵skilchen2018-07-121-2/+9
| | | | | | | | | | parallel (#8281) * make runnableExamples use a private nimcache so that they can be tested in parallel
| * Fixes #8287 (#8288)cooldome2018-07-121-6/+10
| |
| * Handle subtype relations for converter parameters (#8248)LemonBoy2018-07-091-2/+7
| | | | | | Fixes #7098
| * Fixes maxLineLength's bug in the renderer (#8240)Dmitry Atamanov2018-07-091-3/+3
| |
| * Reset typedescMatched before paramTypesMatch (#8250)LemonBoy2018-07-091-0/+3
| | | | | | | | | | The flag should not be carried out across different parameters. Fixes #7794
| * Custom pragmas in proc types (#8205)cooldome2018-07-093-12/+18
| |
* | WIP: strings/seqs based on destructorsAndreas Rumpf2018-07-178-30/+86
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-136-36/+81
| |
* | system.substr is not implemented with compilerProcs anymoreAndreas Rumpf2018-07-114-2/+10
| |
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-105-19/+16
| |
* | avoid AST streaming, experiment what it breaksAraq2018-07-091-2/+6
|/
* Generate dynlib strings as a single rope (#8247)LemonBoy2018-07-081-1/+3
| | | | | | In order not to trip the optimization in genInfixCall we have to do so. The same trick is also used in setExternName. Fixes #8241
* Pick the `and` symbol we need explicitly (#8249)LemonBoy2018-07-081-2/+2
| | | | | | | Using getSysSym made the compiler pick a random `and` symbol: if the symbol table is shuffled we may end up selecting one of the wrong overloads. Fixes #8246
* Fix comparison of tyGenericBody in typerel (#8045)LemonBoy2018-07-071-1/+1
| | | | | | As shown in #7734 and #7733 the logic in typerel fails to determine that `type Foo` and `type Foo` are indeed equal. Fixes #7734
* make tmemfile2 work againAraq2018-07-061-0/+1
|
* make tests green againAndreas Rumpf2018-07-051-0/+2
|
* turn destructors into finalizersAndreas Rumpf2018-07-051-3/+15
|
* enable destructors without the --newruntime switchAndreas Rumpf2018-07-043-16/+4
|
* code cleanup: remove newScopeForIf switchAndreas Rumpf2018-07-045-78/+4
|
* Merge branch 'devel' into araq-develAndreas Rumpf2018-07-043-10/+31
|\
| * Error out if vararg match isn't an exact one (#8186)LemonBoy2018-07-031-1/+11
| | | | | | Fixes #8172
| * Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)Vindaar2018-07-031-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix.
| * Fix crash with static and anonymous procs (#8171)LemonBoy2018-07-021-1/+1
| | | | | | Fixes #6077
* | Merge branch 'devel' into araq-develAndreas Rumpf2018-07-018-46/+55
|\|
| * Minor changes to discardable handling (#8155)LemonBoy2018-07-012-21/+7
| |
| * Fix use of custom pragmas in generic procs (#8165)LemonBoy2018-07-011-1/+2
| | | | | | Fixes #7626
| * Fix constant folding of len() with concept type (#8143)LemonBoy2018-06-301-6/+6
| | | | | | Fixes #7952
| * Fix vm regression (#8163)Oscar Nihlgård2018-06-301-0/+7
| |