| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
fixes #22490, fixes #22491, adapts #22029 to type conversions
|
| |
|
| |
|
|
|
| |
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
|
|
| |
closed #22748; cursorinference + -d:nimNoLentIterators results in erroneous recursion
|
|
|
|
|
|
|
|
|
|
|
|
| |
* documents member
* Update doc/manual_experimental.md
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* fixes `card` undefined misalignment behavior
* Update lib/system/sets.nim
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
| |
Ping @narimiran please backport to the 2.0 line.
|
| |
|
| |
|
| |
|
|
|
| |
fixes #22469; generates `nimTestErrorFlag` for top level statements
|
|
|
|
|
| |
Revert "fixes bareExcept warnings; catch specific exceptions (#21119)"
This reverts commit 9207d77848d6f5db3635ae64f3cd4972cdbe3296.
|
| |
|
|
|
|
|
| |
* fixes bareExcept warnings; catch specific exceptions
* Update lib/pure/coro.nim
|
|
|
|
|
| |
* relax the parameter of `ensureMove`; allow let statements
* fixes the test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* documents member
* Apply suggestions from code review
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* Update doc/manual_experimental.md
* Update doc/manual_experimental.md
* Update doc/manual_experimental.md
* Update doc/manual_experimental.md
* Update doc/manual_experimental.md
* Update doc/manual_experimental.md
---------
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* better initialization patterns for seminst
* Update compiler/seminst.nim
* Update compiler/seminst.nim
|
|
|
|
| |
strictdefs (#22458)
|
|
|
|
|
| |
* fix #22448
* add test
|
|
|
|
|
|
|
|
|
|
|
| |
* unpublic the sons field of PType
* tiny fixes
* fixes an omittance
* fixes IC
* fixes
|
| |
|
|
|
|
|
| |
(#22452)
close #17045;Compiler crash when a tuple iterator with when nimvm is iterated in a closure iterator
|
| |
|
|
|
|
|
| |
* modernize lambdalifting
* follow @beef331's suggestions
|
| |
|
|
|
|
|
|
|
| |
* fixes move sideeffects issues [backport]
* fix openarray
* fixes openarray
|
|
|
|
|
| |
works better with strictdefs (#22436)
replaces `doAssert false` with `raiseAssert`, which works better with strictdefs
|
|
|
| |
getTemp and friends now return `TLoc`
|
|
|
|
|
| |
* adds support for functor in member
* improves functor test
|
| |
|
|
|
|
|
|
|
|
|
| |
* fix #19304 Borrowing std/times.format causes Error: illformed AST
* follow suggestions
* mitigate for #4121
* improve error message
|
|
|
| |
`initLocExpr` and friends now return TLoc
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove call-specific replaceTypeVarsN
* Run for all call kinds and ignore typedesc
* Testcase
---------
Co-authored-by: SirOlaf <>
|
| |
|
| |
|
| |
|
|
|
| |
* fix #5780
|
|
|
|
| |
(#22413)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* 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>
|
|
|
|
|
| |
* fix #20891 Illegal capture error of env its self
* fix innerClosure too earlier, make condition shorter
|
|
|
|
|
|
|
|
|
|
|
| |
It seems that `--stylecheck:error` acts up when the name forwards is involved.
```nim
proc thisOne*(x: var int)
proc thisone(x: var int) = x = 1
```
It cannot understand this at all.
|
| |
|
| |
|
|
|
| |
fixes #22373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
like field access (#22420)
modernize lineinfos; array access hinders strict def analysis like field access
A bug ?
```nim
proc computeNotesVerbosity(): array[0..3, TNoteKinds] =
result[3] = {low(TNoteKind)..high(TNoteKind)} - {warnObservableStores, warnResultUsed, warnAnyEnumConv, warnBareExcept}
result[2] = result[3] - {hintStackTrace, hintExtendedContext, hintDeclaredLoc, hintProcessingStmt}
result[1] = result[2] - {warnProveField, warnProveIndex,
warnGcUnsafe, hintPath, hintDependency, hintCodeBegin, hintCodeEnd,
hintSource, hintGlobalVar, hintGCStats, hintMsgOrigin, hintPerformance}
result[0] = result[1] - {hintSuccessX, hintSuccess, hintConf,
hintProcessing, hintPattern, hintExecuting, hintLinking, hintCC}
```
|