Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no more code duplication bw liMessage and rawMessage + several bug fixes ↵ | Timothee Cour | 2020-05-22 | 1 | -1/+2 |
| | | | | | | | (#14415) * no more code duplication bw rawMessage and liMessage; fixes some bugs in rawMessage * all compiler messages work with hint:msgorigin | ||||
* | Implements RFCs #209 (#13995) | cooldome | 2020-04-16 | 1 | -2/+5 |
| | | | | | * add test * add changelod entry Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | new feature: ability to turn specific warnings to errors | Andreas Rumpf | 2020-04-04 | 1 | -0/+4 |
| | |||||
* | The raises list can now use expressions referencing the generic params | Zahary Karadjov | 2020-04-01 | 1 | -0/+2 |
| | |||||
* | Replace tfHasRequiresInit with a more accurate mechanism | Zahary Karadjov | 2020-04-01 | 1 | -0/+1 |
| | | | | | | | | | The new mechanism can deal with more complex scenarios such as not nil field appearing in a non-default case object branch or a field within a generic object that may depend on a when branch. The commit also plugs another hole: the user is no longer able to create illegal default values through seq.setLen(N). | ||||
* | Fix tests/parallel/tguard2.nim | Zahary Karadjov | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -13/+10 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | fixes #5050; fixes #11826 (#12606) [backport] | cooldome | 2019-11-07 | 1 | -2/+17 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -2/+2 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | fixes 'unused module' feature for 32 bit builds of Nim for good [nobackport] | Araq | 2019-08-09 | 1 | -4/+2 |
| | |||||
* | make tests green again on 32bit systems | Araq | 2019-08-09 | 1 | -1/+1 |
| | |||||
* | fixes #11809 | Andreas Rumpf | 2019-08-08 | 1 | -0/+3 |
| | |||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -3/+3 |
| | | | | * fixes #11847 | ||||
* | makes the -d:nimIncremental compiler mode compile again | Andreas Rumpf | 2019-07-27 | 1 | -1/+1 |
| | |||||
* | revert changes | Andrii Riabushenko | 2019-07-25 | 1 | -3/+0 |
| | |||||
* | fixes #11826 | Andrii Riabushenko | 2019-07-25 | 1 | -0/+3 |
| | |||||
* | Merge branch 'devel' into araq-detect-unused-imports | Andreas Rumpf | 2019-07-18 | 1 | -5/+2 |
|\ | |||||
| * | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -5/+2 |
| | | |||||
* | | [feature] detect unused imports | Araq | 2019-07-17 | 1 | -1/+3 |
|/ | |||||
* | Smarter variant object construction (#11273) | Jasper Jenkins | 2019-05-26 | 1 | -0/+10 |
| | |||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -1/+1 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | destructors: internal compiler refactoring | Araq | 2019-04-18 | 1 | -6/+0 |
| | |||||
* | fixes #10930 | Andreas Rumpf | 2019-03-30 | 1 | -0/+1 |
| | |||||
* | more destructor based changes (#10885) | Andreas Rumpf | 2019-03-23 | 1 | -0/+2 |
| | | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures | ||||
* | destructors: first step towards fixing #9617 (#10341) | cooldome | 2019-01-18 | 1 | -0/+7 |
| | |||||
* | compiler refactoring: TSymSeq is gone for good | Araq | 2018-12-11 | 1 | -3/+3 |
| | |||||
* | Fix overload resolution for pragmas evaluation (#8902) | LemonBoy | 2018-10-09 | 1 | -1/+4 |
| | | | | Fixes #6448 Fixes #4384 | ||||
* | change runnableExamples implementation; fixes #8641; fixes #7135; ↵ | Andreas Rumpf | 2018-09-02 | 1 | -1/+0 |
| | | | | runnableExamples works for templates and generics | ||||
* | allow .experimental in a .push/pop environment; refs #8676 | Araq | 2018-08-27 | 1 | -0/+1 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -2/+5 |
| | |||||
* | Implement the `is` operator for the new static and typedesc type classes | Zahary Karadjov | 2018-06-16 | 1 | -1/+2 |
| | | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase | ||||
* | baby steps for incremental compilation | Andreas Rumpf | 2018-05-30 | 1 | -1/+1 |
| | |||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -2/+2 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | make semantic checking free of globals | Andreas Rumpf | 2018-05-18 | 1 | -0/+2 |
| | |||||
* | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 1 | -0/+1 |
|\ | |||||
| * | A motivating example for the new `bindSym` behavior. | Zahary Karadjov | 2018-05-07 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | 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 anymore | Andreas Rumpf | 2018-05-13 | 1 | -2/+3 |
| | | |||||
* | | lookups compiles again | Andreas Rumpf | 2018-05-10 | 1 | -23/+25 |
|/ | |||||
* | semcheck: code cleanups | Andreas Rumpf | 2018-04-28 | 1 | -1/+1 |
| | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -4/+2 |
| | |||||
* | refactoring: make FileIndex a distinct type; make line information an ↵ | Andreas Rumpf | 2018-04-21 | 1 | -1/+1 |
| | | | | uint16; fixes #7654 | ||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -5/+5 |
| | |||||
* | the documentation generator now supports system.runnableExamples | Araq | 2017-11-26 | 1 | -0/+1 |
| | |||||
* | Remove more usages of unary lt (fixes #6634) (#6641) | Fabian Keller | 2017-10-31 | 1 | -1/+1 |
| | | | | | | * fixes #6634 * remove more usages of unary < | ||||
* | remove old implementation of the roof operator; make tests green again; ↵ | Andreas Rumpf | 2017-10-29 | 1 | -1/+0 |
| | | | | close #6292 | ||||
* | destructors: supportsCopyMem finally works for recursive types | Araq | 2017-10-26 | 1 | -0/+6 |
| | |||||
* | destructors: preparations for upcoming changes | Araq | 2017-10-17 | 1 | -0/+1 |
| |