Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes the remaining fixable Nimrod->Nim renamings; closes #2032 | Araq | 2018-09-03 | 4 | -14/+14 |
| | |||||
* | fixes #8740 | Araq | 2018-09-03 | 1 | -1/+1 |
| | |||||
* | fixes #8028 | Andreas Rumpf | 2018-09-03 | 1 | -1/+1 |
| | |||||
* | runnableExample: put each example to its own file; fixes #7285 | Andreas Rumpf | 2018-09-03 | 2 | -30/+27 |
| | |||||
* | fixes #8831 | Andreas Rumpf | 2018-09-03 | 1 | -1/+1 |
| | |||||
* | Make sure addGotoOut always inserts its node (#8843) | LemonBoy | 2018-09-03 | 1 | -1/+1 |
| | | | Fixes #8773 | ||||
* | change runnableExamples implementation; fixes #8641; fixes #7135; ↵ | Andreas Rumpf | 2018-09-02 | 5 | -42/+70 |
| | | | | runnableExamples works for templates and generics | ||||
* | fixes #8694 | Andreas Rumpf | 2018-09-02 | 1 | -2/+2 |
| | |||||
* | fixes #8052 | Araq | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | Constant folding for integer casts (#8095) | LemonBoy | 2018-08-31 | 1 | -7/+25 |
| | |||||
* | Do not materialize empty varargs[untyped] arrays (#8715) | LemonBoy | 2018-08-31 | 1 | -6/+17 |
| | | | | | | | | | When an empty nkArgList `varargs[untyped]` is passed around it is now reused for efficiency sake and to prevent the introduction of a spurious element: before this commit we'd pass the caller a nkArgList[nkHiddenStdConv[nkBracket]] node instead of just an empty nkArgList. Fixes #8706 | ||||
* | fixes #8066 | Araq | 2018-08-31 | 2 | -3/+9 |
| | |||||
* | introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817) | Andreas Rumpf | 2018-08-30 | 2 | -2/+11 |
| | |||||
* | fixes #7854 | Araq | 2018-08-30 | 1 | -1/+2 |
| | |||||
* | make config.nims behave like nim.cfg in terms of where these scripts are ↵ | Timothee Cour | 2018-08-30 | 6 | -70/+131 |
| | | | | | | | | | searched / run (#8682) * run project config.nims if exists, then inputfile.nims if exists * ~/.config/nim/config.nims can now be used * also check in getSystemConfigPath for config.nims * refactor handleCmdLine for nim and nimsuggest | ||||
* | Allow `hint` and `warning` to specify its loc info (#8771) | LemonBoy | 2018-08-28 | 2 | -10/+14 |
| | | | Let's bring those to feature-parity with `error`. | ||||
* | fixes #4766 | Araq | 2018-08-28 | 1 | -1/+2 |
| | |||||
* | Fix nkImportAs regression (#8796) | Oscar Nihlgård | 2018-08-28 | 1 | -9/+14 |
| | |||||
* | show all mismatching overloads again | Araq | 2018-08-27 | 1 | -9/+11 |
| | |||||
* | improve the error message for mutability problems that arise from implicit ↵ | Araq | 2018-08-27 | 1 | -1/+3 |
| | | | | converter calls | ||||
* | fixes #8776 | Araq | 2018-08-27 | 1 | -10/+11 |
| | |||||
* | allow .experimental in a .push/pop environment; refs #8676 | Araq | 2018-08-27 | 2 | -17/+23 |
| | |||||
* | optimize away genericReset for result assignment; refs #8745 | Araq | 2018-08-27 | 1 | -3/+112 |
| | |||||
* | fixes #8781 by appending "_U" instead of 'U' (#8787) | Vindaar | 2018-08-27 | 1 | -1/+3 |
| | |||||
* | More checks for custom pragmas placement (#8765) | LemonBoy | 2018-08-25 | 1 | -3/+6 |
| | | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them. | ||||
* | fixes #8739; allow --hint:foo:on --warning:bar:off (#8757) | Timothee Cour | 2018-08-25 | 2 | -8/+17 |
| | |||||
* | fixes 8754 (#8755) | cooldome | 2018-08-24 | 1 | -0/+8 |
| | | | | | | * fixes 8754 * improve test | ||||
* | Validate pragmas attached to for variables (#8749) | LemonBoy | 2018-08-24 | 2 | -0/+3 |
| | | | Fixes #8741 | ||||
* | improve error messages by filtering out highly unlikely mismatches | Andreas Rumpf | 2018-08-24 | 1 | -0/+10 |
| | |||||
* | enforce the condition of a 'when' condition to be of type bool; refs #8603 | Andreas Rumpf | 2018-08-23 | 1 | -1/+1 |
| | |||||
* | add nimHasWarningX and nimHasHintX defines for feature detection purposes | Andreas Rumpf | 2018-08-23 | 1 | -0/+6 |
| | |||||
* | make nimsuggest compile again | Andreas Rumpf | 2018-08-23 | 1 | -1/+1 |
| | |||||
* | fixes merge conflict | Araq | 2018-08-23 | 16 | -61/+104 |
|\ | |||||
| * | Fix for module alias inside brackets (#8726) | Oscar Nihlgård | 2018-08-23 | 2 | -14/+19 |
| | | |||||
| * | partially fix #8218: nim doc --project (#8737) | Timothee Cour | 2018-08-23 | 1 | -4/+3 |
| | | |||||
| * | better formatting for recursive module dependency (#8735) | Timothee Cour | 2018-08-23 | 1 | -1/+1 |
| | | |||||
| * | Fix abs & unary sub in semfold (#8724) | Oscar Nihlgård | 2018-08-22 | 1 | -2/+6 |
| | | |||||
| * | Pick skParam symbols when resolving type idents (#8720) | LemonBoy | 2018-08-22 | 1 | -1/+1 |
| | | | | | | Fixes #8357 | ||||
| * | fixes 8594 (#8721) | cooldome | 2018-08-22 | 1 | -2/+2 |
| | | |||||
| * | Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700) | LemonBoy | 2018-08-22 | 2 | -17/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms. | ||||
| * | Cosmetic: fix typo on TRIPLESTR_LIT (#8663) | Iván Montes | 2018-08-21 | 2 | -2/+2 |
| | | |||||
| * | Fix #8126 (#8712) | zah | 2018-08-21 | 3 | -2/+4 |
| | | | | | | | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release. | ||||
| * | More robust handling of deprecated pragmas (#8696) | LemonBoy | 2018-08-21 | 2 | -9/+24 |
| | | | | | | | | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867 | ||||
| * | sfForward is also sfReorder for skModule symbols (#8692) | LemonBoy | 2018-08-21 | 1 | -1/+1 |
| | | | | | | | | | | Take this into account while searching for undefined forward references. Fixes #8665 | ||||
| * | Update all the default parameters after an instantiation (#8689) | LemonBoy | 2018-08-20 | 1 | -6/+5 |
| | | | | | | | | | | | | The old implementation relied on the (now?) wrong assumption that default-valued parameters can only be placed after the required ones. Fixes #8683 | ||||
| * | exploit nil seqs for performance (#8688) | Andreas Rumpf | 2018-08-20 | 2 | -8/+15 |
| | | | | | | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator | ||||
| * | Expand tyAlias in typeToString (#8634) | LemonBoy | 2018-08-18 | 1 | -0/+2 |
| | | | | | | Fixes #8339 | ||||
* | | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 16 | -71/+66 |
| | | |||||
* | | make tests green again | Araq | 2018-08-21 | 1 | -1/+1 |
| | | |||||
* | | some progress on destructors for builtin seqs | Andreas Rumpf | 2018-08-20 | 2 | -2/+6 |
| | |