Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fixes #17197; fixes #22560; fixes the dest of newSeqOfCap in refc (#22594) | ringabout | 2023-08-31 | 1 | -0/+1 | |
| | ||||||
* | handle typedesc params in VM (#22581) | metagn | 2023-08-30 | 1 | -1/+7 | |
| | | | | | | | | | * handle typedesc params in VM fixes #15760 * add test * fix getType(typedesc) test | |||||
* | fixes an issue where sometimes wasMoved produced bad codegen for cpp (#22587) | Juan M Gómez | 2023-08-30 | 1 | -1/+4 | |
| | ||||||
* | clearer error for different size int/float cast in VM (#22582) | metagn | 2023-08-29 | 1 | -3/+11 | |
| | | | refs #16547 | |||||
* | minor style changes in the compiler (#22584) | ringabout | 2023-08-29 | 1 | -3/+2 | |
| | | | | | * minor style changes in the compiler * use raiseAssert | |||||
* | properly fold constants for dynlib pragma (#22575) | metagn | 2023-08-28 | 1 | -1/+1 | |
| | | | fixes #12929 | |||||
* | correct logic for qualified symbol in templates (#22577) | metagn | 2023-08-28 | 1 | -1/+4 | |
| | | | | | | | * correct logic for qualified symbol in templates fixes #19865 * add test | |||||
* | `initCandidate` and friends now return values (#22570) | ringabout | 2023-08-28 | 3 | -42/+32 | |
| | | | | | | | | | * `initCandidate` and friends now return values * fixes semexprs.nim * fixes semcall.nim * Update compiler/semcall.nim | |||||
* | fix #22548;environment misses for type reference in iterator access n… ↵ | Bung | 2023-08-27 | 1 | -5/+19 | |
| | | | | | | | | | | | | | (#22559) * fix #22548;environment misses for type reference in iterator access nested in closure * fix #21737 * Update lambdalifting.nim * remove containsCallKinds * simplify | |||||
* | Improve compiler cli args (#22509) | Juan Carlos | 2023-08-25 | 1 | -4/+10 | |
| | | | | | | | * . * Fix cli args out of range with descriptive error instead of crash * https://github.com/nim-lang/Nim/pull/22509#issuecomment-1692259451 | |||||
* | fix generic param substitution in templates (#22535) | metagn | 2023-08-25 | 2 | -2/+13 | |
| | | | | | | | * fix generic param substitution in templates fixes #13527, fixes #17240, fixes #6340, fixes #20033, fixes #19576, fixes #19076 * fix bare except in test, test updated packages in CI | |||||
* | follow up #22549 (#22551) | ringabout | 2023-08-25 | 4 | -4/+7 | |
| | ||||||
* | fixes a strictdef ten years long vintage bug, which counts the same thing ↵ | ringabout | 2023-08-24 | 3 | -10/+23 | |
| | | | | | twice (#22549) fixes a strictdef ten years long vintage bug | |||||
* | round out tuple unpacking assignment, support underscores (#22537) | metagn | 2023-08-24 | 3 | -27/+42 | |
| | | | | | | | | | | | | | | | * round out tuple unpacking assignment, support underscores fixes #18710 * fix test messages * use discard instead of continue Co-authored-by: Andreas Rumpf <rumpf_a@web.de> --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | |||||
* | don't render underscore identifiers with id (#22538) | metagn | 2023-08-23 | 1 | -3/+5 | |
| | ||||||
* | Fix #21532: Check if template return is untyped (#22517) | SirOlaf | 2023-08-23 | 1 | -0/+3 | |
| | | | | | | | | | * Don't ignore return in semTemplateDef * Add test --------- Co-authored-by: SirOlaf <> | |||||
* | allow non-pragma special words as user pragmas (#22526) | metagn | 2023-08-21 | 2 | -11/+24 | |
| | | | | | allow non-pragma special words as macro pragmas fixes #22525 | |||||
* | fix getNullValue for cstring in VM, make other VM code aware of nil cstring ↵ | metagn | 2023-08-21 | 3 | -6/+22 | |
| | | | | | | | | | | | | | (#22527) * fix getNullValue for cstring in VM fixes #22524 * very ugly fixes, but fix #15730 * nil cstring len works, more test lines * fix high | |||||
* | use old typeinfo generation for hot code reloading (#22518) | metagn | 2023-08-20 | 1 | -1/+1 | |
| | | | | | * use old typeinfo generation for hot code reloading * at least test hello world compilation on orc | |||||
* | Fix #21722 (#22512) | SirOlaf | 2023-08-19 | 1 | -6/+8 | |
| | | | | | | | | | | | * Keep return in mind for sink * Keep track of return using bool instead of mode * Update compiler/injectdestructors.nim * Add back IsReturn --------- Co-authored-by: SirOlaf <> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | |||||
* | Markdown code blocks migration part 9 (#22506) | Amjad Ben Hedhili | 2023-08-19 | 2 | -2/+2 | |
| | | | | | * Markdown code blocks migration part 9 * fix [skip ci] | |||||
* | Remove Deprecated Babel (#22507) | Juan Carlos | 2023-08-19 | 1 | -4/+2 | |
| | ||||||
* | Fix #22366 by making nimlf_/nimln_ part of the same line (#22503) | Alberto Torres | 2023-08-18 | 1 | -2/+2 | |
| | | | Fix #22366 by making nimlf_/nimln_ part of the same line so the debugger doesn't advance to the next line before executing it | |||||
* | Add staticFileExists and staticDirExists (#22278) | Tomohiro | 2023-08-18 | 1 | -0/+4 | |
| | ||||||
* | make float32 literals stringifying behave in JS the same as in C (#22500) | ringabout | 2023-08-17 | 1 | -2/+7 | |
| | ||||||
* | cascade tyFromExpr in type conversions in generic bodies (#22499) | metagn | 2023-08-17 | 1 | -5/+7 | |
| | | | fixes #22490, fixes #22491, adapts #22029 to type conversions | |||||
* | fixes #22357; don't sink elements of var tuple cursors (#22486) | ringabout | 2023-08-16 | 1 | -1/+3 | |
| | ||||||
* | When in object handles procedure call again, fixes #22474 (#22480) | Jason Beetham | 2023-08-15 | 1 | -1/+1 | |
| | | | Ping @narimiran please backport to the 2.0 line. | |||||
* | fixes #22469; generates nimTestErrorFlag for top level statements (#22472) | ringabout | 2023-08-14 | 1 | -2/+2 | |
| | | | fixes #22469; generates `nimTestErrorFlag` for top level statements | |||||
* | relax the parameter of `ensureMove`; allow let statements (#22466) | ringabout | 2023-08-12 | 1 | -2/+3 | |
| | | | | | * relax the parameter of `ensureMove`; allow let statements * fixes the test | |||||
* | better initialization patterns for seminst (#22456) | ringabout | 2023-08-12 | 1 | -14/+5 | |
| | | | | | | | * better initialization patterns for seminst * Update compiler/seminst.nim * Update compiler/seminst.nim | |||||
* | fix #22448 Remove `structuredErrorHook` temporary in `tryConstExpr` (#22450) | Pylgos | 2023-08-11 | 1 | -0/+9 | |
| | | | | | * fix #22448 * add test | |||||
* | unpublic the sons field of PType; the precursor to PType refactorings (#22446) | ringabout | 2023-08-11 | 21 | -76/+94 | |
| | | | | | | | | | | | * unpublic the sons field of PType * tiny fixes * fixes an omittance * fixes IC * fixes | |||||
* | refactor `result = default(...)` into object construction (#22455) | ringabout | 2023-08-11 | 1 | -10/+4 | |
| | ||||||
* | modernize lambdalifting (#22449) | ringabout | 2023-08-11 | 1 | -9/+6 | |
| | | | | | * modernize lambdalifting * follow @beef331's suggestions | |||||
* | `initNodeTable` and friends now return (#22444) | ringabout | 2023-08-11 | 15 | -64/+51 | |
| | ||||||
* | fixes move sideeffects issues [backport] (#22439) | ringabout | 2023-08-10 | 1 | -3/+15 | |
| | | | | | | | * fixes move sideeffects issues [backport] * fix openarray * fixes openarray | |||||
* | replaces `doAssert false` with `raiseAssert` for unreachable branches, which ↵ | ringabout | 2023-08-10 | 21 | -42/+34 | |
| | | | | | works better with strictdefs (#22436) replaces `doAssert false` with `raiseAssert`, which works better with strictdefs | |||||
* | `getTemp` and friends now return `TLoc` as requested (#22440) | ringabout | 2023-08-10 | 6 | -77/+60 | |
| | | | getTemp and friends now return `TLoc` | |||||
* | adds support for functor in member (#22433) | Juan M Gómez | 2023-08-10 | 1 | -1/+6 | |
| | | | | | * adds support for functor in member * improves functor test | |||||
* | fix #19304 Borrowing std/times.format causes Error: illformed AST (#20659) | Bung | 2023-08-10 | 3 | -26/+53 | |
| | | | | | | | | | * fix #19304 Borrowing std/times.format causes Error: illformed AST * follow suggestions * mitigate for #4121 * improve error message | |||||
* | `initLocExpr` and friends now return `TLoc` (#22434) | ringabout | 2023-08-10 | 4 | -341/+234 | |
| | | | `initLocExpr` and friends now return TLoc | |||||
* | Fix #21760 (#22422) | SirOlaf | 2023-08-10 | 1 | -2/+2 | |
| | | | | | | | | | | | * Remove call-specific replaceTypeVarsN * Run for all call kinds and ignore typedesc * Testcase --------- Co-authored-by: SirOlaf <> | |||||
* | modernize sempass2; `initEffects` now returns `TEffects` (#22435) | ringabout | 2023-08-10 | 1 | -21/+13 | |
| | ||||||
* | makes asmnostackframe work with cpp member #22411 (#22429) | Juan M Gómez | 2023-08-09 | 1 | -3/+4 | |
| | ||||||
* | simplify isAtom condition (#22430) | ringabout | 2023-08-09 | 2 | -8/+2 | |
| | ||||||
* | Fix #5780 (#22428) | Bung | 2023-08-09 | 1 | -1/+1 | |
| | | | * fix #5780 | |||||
* | fixes cascades of out parameters, which produces wrong ProveInit warnings ↵ | ringabout | 2023-08-09 | 1 | -4/+10 | |
| | | | | (#22413) | |||||
* | fix #12938 index type of array in type section without static (#20529) | Bung | 2023-08-09 | 2 | -21/+37 | |
| | | | | | | | | | | | | | * fix #12938 nim compiler assertion fail when literal integer is passed as template argument for array size * use new flag tfImplicitStatic * fix * fix #14193 * correct tfUnresolved add condition * clean test | |||||
* | fixes #22419; async/closure environment does not align local variables (#22425) | ringabout | 2023-08-09 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | * fixes #22419; async/closure environment does not align local variables * Apply suggestions from code review * Update tests/align/talign.nim Co-authored-by: Jacek Sieka <arnetheduck@gmail.com> * apply code review * update tests --------- Co-authored-by: Jacek Sieka <arnetheduck@gmail.com> |