Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix calls in generic bodies, delay typecheck when no overloads match (#22029) | metagn | 2023-06-13 | 7 | -32/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | * sacrifice "tgenericshardcases" for working statics * legacy switch for CI, maybe experimental later * convert to experimental * apparently untyped needs the experimental switch * try special case call semcheck * try fix * fix compilation * final cleanup, not experimental, make `when` work * remove last needed use of untyped * fix unused warning in test * remove untyped feature | |||||
* | fixes #22065; do not search path for relative imports (#22073) | ringabout | 2023-06-13 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | * fixes #22065; do not search path for "./" * simplify * fixes * fixes * allow ".." * cleanup * add a test case * slightly modify the import * adds a changelog | |||||
* | strictly typecheck expressions in bracketed `emit` (#22074) | metagn | 2023-06-13 | 3 | -1/+3 | |
| | | | | | * strictly typecheck expressions in bracketed `emit` * use nim check in test | |||||
* | fixes #22058; invalid free with {.noSideEffect.} in template (#22088) | ringabout | 2023-06-13 | 1 | -20/+19 | |
| | ||||||
* | clean up nimfix leftover (#22087) | ringabout | 2023-06-13 | 1 | -3/+0 | |
| | ||||||
* | fix dot calls with resolved symbols in templates (#22076) | metagn | 2023-06-12 | 3 | -2/+10 | |
| | | | | | | | | | | | | | * fix dot calls with resolved symbols in templates * make old code work * fix custom number literals test * remove leftover debug marker * enable "bug 9" test too * fix renderer, add test for #7085 | |||||
* | make binary `not` not parse complex expressions on right side (#22078) | metagn | 2023-06-12 | 1 | -4/+4 | |
| | | | | | | | * binary `not` only parses simple expressions fixes #16324 * switch to primary | |||||
* | make borrow `.` work with aliases if not overriden (#22072) | metagn | 2023-06-11 | 1 | -3/+8 | |
| | ||||||
* | Atlas: now in its own repository (#22066) | Andreas Rumpf | 2023-06-10 | 1 | -1/+0 | |
| | | | | | * Atlas: now in its own repository * progress | |||||
* | Remove Deprecated Nimfix (#22062) | Juan Carlos | 2023-06-10 | 12 | -209/+16 | |
| | | | | * Remove Deprecated Nimfix * Trailing whitespace cleanups | |||||
* | make `move` use `=wasMoved` internally (#22032) | ringabout | 2023-06-09 | 3 | -6/+16 | |
| | | | | | | | | | | | | | * make `move` use `=wasMoved` internally * fixes tests * fixes spawn finally * fixes views * rename to internalMove * add a test case | |||||
* | clean up isNilConversion for seqs, strings (#22057) | ringabout | 2023-06-09 | 1 | -7/+1 | |
| | ||||||
* | Fix: don't track Defect in proc effect compatibility (#22037) | Tanguy | 2023-06-08 | 1 | -1/+14 | |
| | ||||||
* | allow addressing elements of openArray[char] in VM (#22045) | ringabout | 2023-06-08 | 1 | -0/+2 | |
| | | | allow addressing elements of openArray[char] | |||||
* | fixes {.global.} ref typedesc regressions (#22046) | ringabout | 2023-06-08 | 1 | -0/+1 | |
| | ||||||
* | fixes overriden typo (#22044) | ringabout | 2023-06-08 | 8 | -31/+31 | |
| | ||||||
* | Improve compiler messages (#22040) | Juan Carlos | 2023-06-08 | 1 | -1/+1 | |
| | | | * Improve compiler messages | |||||
* | adds `rkInt` to the `opcCastPtrToInt` op (#22039) | Juan M Gómez | 2023-06-08 | 1 | -0/+2 | |
| | | | adds rkInt to the opcCastPtrToInt op | |||||
* | fixes #21995: align C++ with C backend behavior for empty raise state… ↵ | heterodoxic | 2023-06-07 | 1 | -5/+1 | |
| | | | | | | | (#21998) * fixes #21995: align C with C++ backend behavior for empty raise statements * make runtime behavior match across both C and C++ backend and all exception modes | |||||
* | fixes #21989; lift `=dup` from a custom `=copy` for objects to keep backward ↵ | ringabout | 2023-06-07 | 1 | -1/+10 | |
| | | | | | | | | | | | | | compatibilities (#22009) * fixes #21989; optimize `=dup` iff it is overridden * remove owned * fixes refs * lift destructors * lift dup | |||||
* | retain forced open undeclared ident information (#22019) | metagn | 2023-06-07 | 2 | -5/+4 | |
| | ||||||
* | Improve compiler messages (#22028) | Juan Carlos | 2023-06-07 | 1 | -3/+2 | |
| | | | * Improve compiler messages with simpler code | |||||
* | make runnableExamples a special word (#22024) | metagn | 2023-06-06 | 4 | -7/+7 | |
| | | | | | * make runnableExamples a special word * fix imports | |||||
* | post expr blocks colon fix + correct grammar (#21983) | metagn | 2023-06-06 | 1 | -12/+16 | |
| | | | | | | | | | | | | | | | * post expr blocks colon fix + correct grammar fixes #21982 * fix dochelpers * this is remarkably common * use head for unchained * fix atlas * final grammar fix | |||||
* | properly disallow unresolved generic proc values (#22005) | metagn | 2023-06-05 | 2 | -2/+13 | |
| | | | | | | | * properly disallow unresolved generic proc values * mirrors semoperand * shallow efTypeAllowed, add back special case | |||||
* | infer error for `=dup` if there is a custom `=copy` error hook (#22004) | ringabout | 2023-06-05 | 1 | -1/+10 | |
| | ||||||
* | Remove unused astago import warning from vm.nim (#22003) | Miguel Madrid-Mencía | 2023-06-04 | 1 | -1/+0 | |
| | ||||||
* | Fix typo in installer.ini (#22002) | Miguel Madrid-Mencía | 2023-06-04 | 1 | -1/+1 | |
| | ||||||
* | fixes nightlies regression caused by atlas moving out of the tools dir (#21999) | ringabout | 2023-06-04 | 1 | -0/+1 | |
| | | | fixes nightlies caused by atlas moving out of the tools dir | |||||
* | shallow fix for #21972, #18552 by moving std::exception_ptr to the parent ↵ | heterodoxic | 2023-06-04 | 1 | -3/+2 | |
| | | | | | sco… (#21988) shallow fix for #21972 by moving std::exception_ptr to the parent scope, minor cleanup | |||||
* | fixes #21987; don't create type bound ops for anything in a function with a ↵ | ringabout | 2023-06-04 | 1 | -1/+4 | |
| | | | | | | | `nodestroy` pragma (#21992) * fixes #21987; don't create type bound ops for anything in a function with a `nodestroy` pragma * add a comment | |||||
* | lift the `=dup` hook (#21903) | ringabout | 2023-06-02 | 4 | -53/+113 | |
| | | | | | | * fixes tests again * remove helper functions * fixes closures, owned refs * final cleanup | |||||
* | partially fixes #20787 by having a char dummy member prepended to objs only ↵ | heterodoxic | 2023-06-01 | 1 | -2/+9 | |
| | | | | | containing an UncheckedArray (i.e. C FAM) (#21979) partial fix for #20787 | |||||
* | fixes #21974; fixes sameConstant fieldDefect (#21981) | ringabout | 2023-06-01 | 1 | -1/+1 | |
| | | | | | * fixes #21974; fixes sameConstant fieldDefect * add a test case | |||||
* | privateAccess ignores non-objects (#21973) | metagn | 2023-06-01 | 3 | -2/+5 | |
| | | | closes #21969 | |||||
* | removal of seq spam in generated C/C++ code and Module.typeStack cleanup ↵ | heterodoxic | 2023-05-31 | 1 | -13/+8 | |
| | | | | | | | (#21964) * WIP: removal of seq spam in generated C/C++ output and Module.typeStack cleanup * removal of seq spam in generated C/C++ output and Module.typeStack cleanup | |||||
* | Implements: [C++] constructor pragma improvement (fix #21921) (#21916) | Juan M Gómez | 2023-05-30 | 6 | -78/+143 | |
| | | | | | | | | | | | | | | | * implements: [C++] constructor pragma improvement (fix #21921) t * fix test so it doesnt use echo in globals * Update compiler/ccgtypes.nim * Update lib/std/private/dragonbox.nim --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | |||||
* | make `proc` not implicitly convert to `pointer` with a preview define (#21953) | metagn | 2023-05-30 | 2 | -1/+5 | |
| | | | | | | | | | * test `proc` not converting to `pointer` * ignore define for now to test * remove cstring * fixes, changelog | |||||
* | simple micro-optimizations of ropes' runtime-formatting (#21962) | heterodoxic | 2023-05-30 | 2 | -15/+8 | |
| | ||||||
* | hot code reloading: fix regression? and PreMain with arc/orc (#21940) | metagn | 2023-05-30 | 2 | -7/+12 | |
| | | | | | * fix PreMain for hot code reloading with arc/orc * fix regression? actually test nimhcr_basic | |||||
* | fixes fieldDefect loses enum type info in ORC; consistent with VM and refc ↵ | ringabout | 2023-05-29 | 1 | -10/+13 | |
| | | | | | (#21954) fixes fieldDefect loses enum type info in ORC | |||||
* | prevent spamming of thread local forward declarations in C/C++ output (#21955) | heterodoxic | 2023-05-29 | 1 | -1/+1 | |
| | ||||||
* | ship atlas and build documentation (#21945) | ringabout | 2023-05-28 | 1 | -0/+1 | |
| | | | | | * ship atlas and build documentation * move atlas.md and link it in tools' index | |||||
* | support generic void return type for templates (#21934) | metagn | 2023-05-27 | 1 | -2/+5 | |
| | | | fixes #21920 | |||||
* | fixes #15428 by updating deep open array copy codegen (#21935) | heterodoxic | 2023-05-27 | 1 | -2/+3 | |
| | | | | | * fix #15428 * add test | |||||
* | fix #10964 by honoring pointer deref syntax if a reified openarray is used ↵ | heterodoxic | 2023-05-27 | 1 | -2/+11 | |
| | | | | | | | to get an array's length (#21925) * fix #10964 * add test | |||||
* | fix & add test for basic hot code reloading case (#21915) | metagn | 2023-05-26 | 1 | -1/+4 | |
| | | | fixes #21885 | |||||
* | fixes #21887; Type conversion on overloaded enum field does not always call ↵ | ringabout | 2023-05-26 | 1 | -0/+3 | |
| | | | | | | | | | | | (#21908) * fixes #21887; Type conversion on overloaded enum field does not always call * remove comments * add a test case * restrict it to enums | |||||
* | fix #21501 by making --app:lib and --app:staticLib imply --noMain (#21910) | heterodoxic | 2023-05-26 | 2 | -7/+7 | |
| | ||||||
* | when T is both a type symbol and a routine symbol in scope of a generic proc ↵ | metagn | 2023-05-24 | 1 | -4/+6 | |
| | | | | | do not account for the type symbol when doing `a.T()` (#21899) fix #21883 |