| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* alias syntax fixes, improvements and tests
* even better, cannot use alias syntax with generics
* more type tests, improve comment
* fix again
* consistent error message + make t5167_5 work
* more comments, remove {.noalias.}
|
|
|
|
| |
(#21628)
|
|
|
|
|
|
|
|
|
|
|
| |
* stdlib tests now check refc too
* typo
* fixes line numbers
* disable cpp
* do not touch
|
|
|
| |
Document compiler path substitution (nim-lang#19928)
|
|
|
|
|
|
|
| |
(#21700)
* tweak spellsuggest; three counts for equal distances candidates
* only suggest typos when length > 3
|
|
|
|
|
|
|
|
| |
refact: Remove asseertion effect hiding workaround
There was a code comment to remove after bootstrapping with `nim >= 1.4.0`.
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
| |
|
| |
|
| |
|
|
|
| |
https://developer.mozilla.org/en-US/docs/Web/API/Window/find
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes nightlies regression
ref https://github.com/nim-lang/Nim/pull/21659
ref https://github.com/nim-lang/nightlies/actions/runs/4727252660/jobs/8387899690
> /home/runner/work/nightlies/nightlies/nim-1.9.3/lib/std/sysrand.nim(198, 12) Error: cannot evaluate at compile time: EINTR
Because EINTR is not a const on i386
* Update lib/std/sysrand.nim
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
properly (#21688)
* fixes #21540; deref block at transf phase to make injectdestructors function properly
* add a test case
* add one more test
* fixes the type of block
* transform block
|
|
|
|
|
| |
* fix #20997
* use ptr UncheckedArray[uint8] instead
|
|
|
|
| |
Reported on Discord
follow up https://github.com/nim-lang/Nim/pull/20862
|
| |
|
|
|
|
|
|
|
| |
* import brackets support `as` and prefixes
fixes #21635
* copyTree -> copyNode
|
|
|
|
|
|
|
| |
* actually fix #19015
* more tests
* round out
|
|
|
|
|
|
|
|
|
| |
* revert #21227 but keep test
* add test for #21677
* don't export
* delete test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#21659)
* test implicitly huge set types
refs https://github.com/nim-lang/RFCs/issues/298
* oh my god
* boot at least
* don't error, fix remaining issues, no 2 len arrays
* fix runnable example
* test assuming 0..255 for int literal
* test refactor, add changelog, test
|
| |
|
|
|
|
|
|
|
|
|
| |
parameter (#21684)
* fixes #21674; `lent` can be used in the fields or the cast type as a parameter
* add a test case
* fix the test
|
|
|
| |
fixes #20155; repr range with distinct types is broken with ORC
|
| |
|
|
|
| |
change compile pragma to use mangle
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update nim 2.0 documentation for docgen & nimgrep
* [skip ci] Update changelogs/changelog_2_0_0.md
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* [skip ci] expand section on Markdown migration and `doctype`
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
|
|
|
|
|
|
| |
pthreads with mingw (#21668)
* fixes #18146; disable tlsEmulation on windows; static link libwinthreads DLL
* whatever
|
|
|
| |
closes https://github.com/nim-lang/RFCs/issues/499
|
|
|
|
|
|
|
|
|
|
|
| |
* test if expr parsing expr
refs #19802
* in any case
* just be honest
* fix symbol/keyword issue too
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#21653)
* test not restricting custom pragma applied symbols
fixes #21652
* fix other test
* different patch
* fix tests
* actually test #18212 and other routines
|
|
|
|
|
|
|
| |
fails to build (#21649)
* fixes #20900; Calling template through from generic function across module fails to build
* sanother way
|
|
|
|
|
|
|
| |
* set module symbol type to None instead of nil
fixes #19225
* alright
|
|
|
|
|
| |
time (#21654)
stop building nimsuggest twice and nim_dbg in tests; saving 3 * 5 minutes CI time
|
|
|
| |
fixes #21632; enforce deref for `wasMoved`
|
|
|
|
|
|
|
|
|
|
|
| |
* int64/uint64 as bigint in JS
* fix CI
* convert to compile option
* fix lie
* smaller diff, changelog entry
|
|
|
| |
`semProcAux` has a check for `checkMinSonsLen(n, bodyPos + 1)`
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
document typeclass AST (#21629)
* test fix #16546 #16548 + another issue
* please don't tell me other packages do this
* fix CI + test typeclass callconv pragma
* better logic in parser
* docs and changelog
|
|
|
|
|
|
|
|
| |
This is more Markdown-ish way to fix issue #21055, then PR #21625.
It does not enable RST definition lists, instead it makes
adding additional indentation (less than 4) right after a paragraph
be ignored, as it's done for all block elements in Markdown.
(In this case this tenet is applied to option lists that are not
part of CommonMark spec by themselves).
|
|
|
| |
I have done some investigations but still cannot figure it out in https://github.com/nim-lang/Nim/pull/21637, https://github.com/nim-lang/Nim/pull/21612 and https://forum.nim-lang.org/t/10069. If someone has a clue, please enlighten me.
|
|
|
|
|
| |
* fixes #21638; `fromJson` should supports empty objects
* complete the logic
|
|
|
|
|
|
|
| |
In POSIX Base Definitions Section 8.1 Environment Variable Definition,
it is explained that the `COLUMNS` and `LINES` environment variables,
if present, take precedence over any other implementation-defined method
to determine the terminal size. This is useful, for example, to capture
output programmatically in simulations for various terminal sizes.
|
| |
|
|
|
| |
test removing useVersion
|
|
|
| |
A for expression now can have a generated iterator, allowing for more composable iterables
|
|
|
|
|
|
|
| |
generics (#21619)
* fixes #21617; createTypeBoundOps with PContext in order to instantiate generics
* keep idgen
|
| |
|
|
|
| |
closes https://github.com/nim-lang/RFCs/issues/480
|
|
|
| |
ref https://github.com/nitely/nim-regex/pull/119
|
| |
|