| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
follow up https://github.com/nim-lang/Nim/pull/21604
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
(#21700)
* tweak spellsuggest; three counts for equal distances candidates
* only suggest typos when length > 3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
| |
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
|
| |
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This fixes a regression introduced in #20990 . When a group referencing
is used and one of the overloaded symbols is in `include`d file, then
`nim doc` crashes. The fix is in distinguishing (the index of) module
and file where the symbol is defined, and using only module as the
key in hash table for group referencing.
|
|
|
|
|
|
|
| |
dispatcher for ORC (#21594)
* fixes #21592; create type operations for the method dispatcher
* add a test case
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* document general use of `_`, error message, fixes
fixes #20687, fixes #21435
Documentation and changelog updated to clarify new universal behavior
of `_`. Also new error message for attempting to use `_`, new tests,
and fixes with overloadable symbols and
implicit generics.
* add test for #21435
|
|
|
| |
remove seq[T] setLen UB
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tuple unpacking for vars as just sugar, allowing nesting
* set temp symbol AST
* hopeful fix some issues, add test for #19364
* always use temp for consts
* document, fix small issue
* fix manual indentation
* actually fix manual
* use helper proc
* don't resem temp tuple assignment
|
|
|
|
|
| |
* fixes #20993 [backport:1.6]
* proper line endings for the test file
|
|
|
|
|
| |
types) (#21511)
hacky attempt to reconcile default explicit constructors with enforcement of brace initialization, instead of memsetting imported objects to 0
|
|
|
| |
fixes #14255; Crash in compiler when using system.any by accident.
|
|
|
|
|
|
|
|
|
| |
wrongly in generics (#21554)
* fixes #3770; templates with untyped parameters resolve private fields wrongly
* add a test case for #3770
* rename to `nfSkipFieldChecking`
|
|
|
|
|
| |
(#21462)
mitigates #21272; but it's not the final fix because the first round of overload resolution should already match
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
converter (#21533)
* Add a test case
There are way more test cases (See all branches of analyseIfAddressTaken but this covers at least a second branch
* Port analyseIfAddressTaken from semexprs to sigmatch
This was done since we cannot import sem or semexprs (circular import) but we need the rest of the logic. In needs to be done here since the converter isn't semmed afterwards and so we can't just leave the process til later use the version from semexprs
* Less hacky solution which has the checking be done in analyseIfAddressTakenInCall
This was done instead of the recommendation on removing it since sfAddrTaken is used in places other than the backend
* Remove weird whitespace
* Still check nkHiddenAddr if we are checking a converter
|
| |
|
|
|
|
|
|
|
| |
* add a prepass for codeReordering
* simplify
* fixes
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #18977 disallow change branch of an object variant in ORC
* check errors for goto exception
* fixes conditions
* fixes tests
* add a test case for #18977
|
|
|
| |
fixes #19857; Exception raised in closure may be "skipped"
|
|
|
|
|
| |
* Optimize `cgen.addIndent`
* Avoid temporaries
|
| |
|