| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* better docs: osproc
* fix a typo in the docs, deprecate "demon"
|
| |
|
|
|
|
| |
* error message for accidental use of macro
|
| |
|
|
|
|
|
|
| |
* --define:nimQuirky exception handling for Nim; in preparation of a blog post
* make it work with latest system.nim
* make code more readable
* fixes #10702
|
|
|
|
|
|
|
|
|
| |
* Prevent crash on pragma templates w/ generics
* Remove incorrect call to pragma reconversion
`semOverloadedCall` may return a node with more elements than the
original nkCall node had (implicit and/or explicit generics).
|
|
|
|
| |
Port of #3323 with added tests
|
| |
|
| |
|
| |
|
|
|
| |
Fixes a nasty endless loop in the generic instantiation phase.
|
|
|
|
|
|
| |
* Make index out of bounds more useful by including the 'bounds'.
* fixes #9880 index out of bounds (remaining cases); revives #10228
* change err msg to: `index 3 not in 0 .. 1`
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Misc cleanup in macro code
Generate error messages using `error` instead of `assert`.
Fixes #10574
* Fix crash with hasCustomPragma on quoted fields
Use the `$` operator instead of reaching for the `strVal` field directly
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Fixes #9177
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rework exception handling in the VM
Make the safepoint handling more precise and less forgiving.
The new code is clearer and more commented.
Perform cleanup on `return`.
The no-exception-thrown case in a try block should be slightly faster
since we don't parse the whole set of exceptions every time.
More tests.
* Fix silly error that broke a few tests
* Testament doesn't like files having the same name
* Remove test case that failed compilation to js
|
|
|
|
| |
Empty types introduced by a template produced the same hash of the
"clean" type sharing the same name.
|
|
|
| |
Fixes #10594
|
|
|
|
|
|
| |
This is the MVP in order not to get a completely useless error message
from the compiler.
Fixes #10579
|
|
|
|
| |
(excessiveStackTrace) (#10590)
|
| |
|
|
|
| |
Fixes #8997
|
|
|
|
|
|
|
|
| |
* move IO subsystem into its own module; refs #10385
* make standalone test compile again
* make C++ examples compile again
* make more tests green
* make sysAssert and gcAssert work again
|
|
|
|
|
|
|
|
| |
* Refactor ttimes
* New implementation of times.between
* Deprecate times.toTimeInterval
|
|
|
| |
Fixes #10548
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* fix #10482
* undo changes
* fix for bitwise not
* remove dead opcode
|
|
|
|
|
|
|
|
| |
* fixes #10482
* add missing file
* bug fix
|
|
|
|
| |
print twice (#10508)
|
|
|
|
|
| |
This allows spaces in imports, by using the following syntax:
* `import "directory with spaces" / subdir / file`, or
* `import "directory with spaces/subdir/file"`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* kochdocs.nim: code cleanup
* docgen: nicer indentation
* parser.nim: code cleanup
* fixes #10458
* make tests green again
* make =destroy mixins
* gc:destructors: produced C code is almost working
* --gc:destructors simple program compiles (but leaks memory)
* gc:destructors make examples compile in C++ mode
* destructors: string implementation bugfixes
* strs.nim: minor code cleanup
* destructors: builtin seqs are beginning to work
* remove debugging helpers
|
| |
|
|
|
|
|
|
| |
* fixes #10462
* add a test
|
|
|
|
|
|
| |
Exceptions raised inside a nkFinally/nkExcept block are not caught by
the block itself.
Fixes #3886
|
| |
|
| |
|
|
|
|
| |
Also, change some of `echo`s to `doAssert`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #10339 by checking for nkObjConstr
* revert check for nkObjConstr, return type from nkEmpty node
The correct type needed in `semObjConstr` to fix #10339 is indeed
available, but attached to an `nkEmpty` node. These were previously
discarded in `semTypeNode`, which is used to extract the type for the
object.
* simplify return of PType from `nkEmpty`
* also fixes #9866, add test case
|
|
|
| |
Fixes #10333
|
| |
|
| |
|
| |
|