| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* hashes: implement murmur3
* refactoring; there is only one murmurHash and it works at compile-time via VM hooks
* fixes JS tests
* makes toOpenArrayByte work with C++
* make it bootstrap in C++ mode for 0.20
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix int literals and range interaction
* Fix test
* remove float range fix; update changelog
|
| | |
|
| |\
| | |
| | | |
fixes #12092
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* Allow typeof(nil) as a return type
* $typeof(nil) is now "typeof(nil)", not "nil"
|
| | |/ |
|
| |/
| |
| |
| |
| |
| |
| | |
* lent iterators
* rebase tests
* update changelog
* fix comments, more tests
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
#8083 #8570 (#11678)
* nested typeToString
* typeToString: preferResolved
* add test
* fix test
* preferMixed
* fix tests
|
| | |
|
| |
| |
| |
| |
| |
| | |
* make testament a tool we ship with Nim; fixes #12084
* moved config to fit
* adapt testament tests to use the testament binary
|
| | |
|
| |
| |
| |
| |
| |
| | |
* fixes #12042
* make tests green again
|
| |
| |
| |
| |
| |
| | |
* fixes #5870
* make tclosure test green again
* this check is correct but breaks some Nimble packages
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* small refactoring
* refactor computeObjectOffsetFoldFunction with AccumObject
* refactor packed object offstes fold function
* refactor compute union object offsets fold function
* merge normal/packed object offset fold function
* compiletime offsetof in c++ inheritance objects
* enable c++ inheritance offsetof tests
* correct alignment for big sets/enums on weird 32bit platforms
* uncomputedSize -> unknownSize
* workaround for travis
* fixes win32 alignment problems
|
| |
| |
| |
| | |
* destroy for sink openarray
|
| |\
| | |
| | |
| | |
| | |
| | | |
* Fix several float range issues
* address the comments
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* fix to(Biggest)Int
* kill toFloat magics as well
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* fixes #12015 by also checking kind of `typeNode`
If a tuple field is aliased it'll appear the same as a ref type in a
call to `getType` if only for the kind of the resulting `NimNode` is
checked (that is a `nnkBracketExpr`)
* fix test case due to #12017 and add more realistic test case
Adds an additional test case, which includes generics and is closer to
the real failure I encountered
* remove previous fix and fix differently after all
The previous fix was incomplete, because it failed for generics.
Note that the `of "tuple"` is not actually needed, the
`nnkBracketExpr` branch in the `else` branch would catch it too, but I
decided to introduce it for clarity. However, the latter is actually
needed, because it seems for aliases of `seq` we end up in it.
* update comment about global `%` proc in json test
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* tests for #11996 and #11608
* removed unnecessary comment
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* new .gensym implementation
* make astspec test green again
* introduce a --useVersion switch to group compatibility switches
* fixes #10180
* fixes #11494
* fixes #11483
* object constructor fields and named parameters are also not gensym'ed
* disabled broken package
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
* finish the Windows IO layer changes; refs #11618
* added system.getOsFileHandle which is less error-prone on Windows
* make tests green again
|
|
|
|
|
|
|
|
| |
* Implement isExported for macros
* Reimplement isExported using VM callback mechanism
* VM does not support exceptions, use stacktrace() instead.
|
| |
|
|
|
|
| |
operators (#11965)
|
|\
| |
| |
| |
| |
| | |
* fixes #11118
* Reset closure iter exception before rethrowing
|
| |\ |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|