summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* fixes #8425Araq2018-07-301-1/+1
|
* disable --app:gui for non Windows targets; fixes #2576Araq2018-07-301-2/+4
|
* Add sizeof for arrays of integral types (#8445)cooldome2018-07-301-1/+1
|
* Try conversion to static[T] in generic instantation (#8443)LemonBoy2018-07-301-1/+9
| | | Fixes #8439
* fixes #8434 (incomplete info in errmsg about 'required type') (#8441)skilchen2018-07-301-2/+8
|
* fixes #8323 : avoid polluting git status after `nim doc foo` (#8415)Timothee Cour2018-07-301-3/+5
|
* Fix path resolution of submodules in the std namespace (#8453)Oscar Nihlgård2018-07-302-17/+20
|
* Access implicit `result` trough envP in closures (#8471)LemonBoy2018-07-301-1/+13
| | | | | | | Reuse the existing machinery, most of the changes are only needed to handle the `result = result` node in nkReturnStmt produced by the closure iterator transform. Fixes #338
* Allow use of typedesc as type converters (#8409)LemonBoy2018-07-241-2/+8
| | | Fixes #8403
* Fixed #8399 (#8401)Yuriy Glukhov2018-07-221-1/+1
|
* Render bug: if expression with statement list expression as condition (#8375)cooldome2018-07-212-5/+13
| | | | * Fixes #8348
* Add -w flag to Switch compilation to prevent deadlock (#8372)Joey2018-07-201-1/+1
| | | | | See https://forum.nim-lang.org/t/4062. The summary is that there are warnings printed when compiling and that causes a deadlock, likely due to output buffers being filled up. With the `-w` flag, the compiler outputs no warnings and the compilation is allowed to finish.
* keep the imports in runnableExamples visible in generated html doc (#8354)skilchen2018-07-191-2/+3
|
* Fixes #8343, Fixes #8344 (#8347)cooldome2018-07-181-5/+3
|
* 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
|
* 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
|\|