summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
Commit message (Collapse)AuthorAgeFilesLines
* code cleanup: remove newScopeForIf switchAndreas Rumpf2018-07-041-4/+2
|
* Minor changes to discardable handling (#8155)LemonBoy2018-07-011-8/+7
|
* Merge pull request #8108 from LemonBoy/fix-5958Andreas Rumpf2018-06-261-0/+2
|\ | | | | Make `static` blocks introduce their own scope
| * Make `static` blocks introduce their own scopeLemonBoy2018-06-241-0/+2
| | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958
* | Merge pull request #7964 from LemonBoy/fix-7936Andreas Rumpf2018-06-251-2/+9
|\ \ | |/ |/| Fixes #7936
| * Use the resolved typedesc in semVarOrLetLemonBoy2018-06-231-2/+9
| | | | | | | | | | By leaving the unsemanticized node in the AST we'd trip some passes like the Transf one as seen in #7936.
* | Fixed proto optionsYuriy Glukhov2018-06-151-0/+1
| |
* | Fixed stacktrace/linetrace proc pragmas when appended by macro pragmaYuriy Glukhov2018-06-141-3/+2
| |
* | implements a --nep1:on switch to make the compiler enforce the naming ↵Andreas Rumpf2018-06-131-2/+2
| | | | | | | | conventions outlined in NEP-1
* | Allow stacktrace and linetrace pragmas on procsYuriy Glukhov2018-06-121-0/+3
| |
* | make tests green properlyAndreas Rumpf2018-06-111-2/+2
| |
* | fixes merge conflictAndreas Rumpf2018-06-111-1/+1
|\ \
| * | Fix type inference with static literals.LemonBoy2018-06-101-1/+1
| |/ | | | | | | Fixes #3977
* | make tests green againAndreas Rumpf2018-06-111-6/+8
| |
* | AST change: keep nkStaticStmt in the AST for incremental compilation supportAndreas Rumpf2018-06-031-3/+6
| |
* | incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-4/+5
| |
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-10/+10
| | | | | | | | around explicitly
* | implements --hint[globalvar]:on switch for quickly finding global variablesAndreas Rumpf2018-05-271-0/+2
| |
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-9/+9
| |
* | make tests green againAndreas Rumpf2018-05-181-4/+5
| |
* | make semantic checking free of globalsAndreas Rumpf2018-05-181-13/+11
| |
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-3/+3
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-2/+2
| |
* | remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-8/+8
|/
* make tests green againAraq2018-05-141-1/+1
|
* fixes testament compilationAraq2018-05-141-0/+2
|\
| * A motivating example for the new `bindSym` behavior.Zahary Karadjov2018-05-071-0/+2
| | | | | | | | | | | | | | | | The example is a proof-of-concept logging library, allowing you to define lexically-scoped environments where certain logging attributes are applied automatically to all logging statements. fixes tmacro1 (use of `bindSym` inside static blocks)
* | options.nim: no global variables anymoreAndreas Rumpf2018-05-131-9/+9
| |
* | make nimsuggest compile againAndreas Rumpf2018-05-131-3/+3
| |
* | sem pass compiles againAndreas Rumpf2018-05-121-2/+2
| |
* | semstmts compiles againAndreas Rumpf2018-05-121-92/+103
| |
* | more modules compile againAndreas Rumpf2018-05-121-124/+124
|/
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-2/+3
|
* warn about inconsistent spacing around binary operators; fixes #7582Andreas Rumpf2018-05-051-1/+1
|
* remove the deprecated 'nil' statementAndreas Rumpf2018-05-021-18/+11
|
* fixes #7663Andreas Rumpf2018-04-281-7/+8
|
* semcheck: code cleanupsAndreas Rumpf2018-04-281-49/+3
|
* remove standalone 'except' and 'finally' statements that have been ↵Andreas Rumpf2018-04-281-72/+38
| | | | deprecated for years
* enforce dot and call operators are used with an explicit .experimental pragmaAndreas Rumpf2018-04-271-2/+4
|
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-48/+23
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-4/+4
| | | | uint16; fixes #7654
* semstmts: fewer empty linesAndreas Rumpf2018-04-191-5/+0
|
* implements first version of for-loop macrosAndreas Rumpf2018-04-151-2/+37
|
* fixes #7451 (#7575)RSDuck2018-04-141-5/+16
|
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-2/+2
|
* 'func' is now an alias for 'proc .noSideEffect'Andreas Rumpf2018-04-121-6/+8
|
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-101-16/+31
|
* Allow only single infix as in except branches. Fixes #7115 (#7132)cooldome2018-03-081-44/+36
|
* fixes #6992Andreas Rumpf2018-02-251-0/+9
|
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-121-10/+4
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header