| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Divert libffi from nimble path, impl into koch
* Typo in koch
* Update options.nim comment
* Fix CI Test
* Update changelog
* Clarify libffi nimble comment
* Future pending changelog
---------
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Infer generic bindings
* Simple test
* Add t
* Allow it to work for templates too
* Fix some builds by putting bindings in a template
* Fix builtins
* Slightly more exotic seq test
* Test value-based generics using array
* Pass expectedType into buildBindings
* Put buildBindings into a proc
* Manual entry
* Remove leftover `
* Improve language used in the manual
* Experimental flag and fix basic constructors
* Tiny commend cleanup
* Move to experimental manual
* Use 'kind' so tuples continue to fail like before
* Explicitly disallow tuples
* Table test and document tuples
* Test type reduction
* Disable inferGenericTypes check for CI tests
* Remove tuple info in manual
* Always reduce types. Testing CI
* Fixes
* Ignore tyGenericInst
* Prevent binding already bound generic params
* tyUncheckedArray
* Few more types
* Update manual and check for flag again
* Update tests/generics/treturn_inference.nim
* var candidate, remove flag check again for CI
* Enable check once more
---------
Co-authored-by: SirOlaf <>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
(#22376)
Revert "fix #22173 `sink` paramers not moved into closure (refc) (#22359)"
This reverts commit b40da812f7aa590ed16df54a492684c228320549.
|
|
|
|
|
| |
* use genRefAssign when assign to sink string
* add test case
|
| |
|
|
|
|
|
| |
* fixes #22360; compare with the half of randMax
* add a test
|
|
|
| |
Update the position of "Grey"
|
| |
|
|
|
|
|
|
|
| |
on` (#22355)
* fixes #22262; -d:useMalloc broken with --mm:none and threads on
* fixes
|
| |
|
|
|
|
|
|
|
| |
defaults" (#22351)
Revert "fixes #22246; generate `__builtin_unreachable` hints for case defaults (#22350)"
This reverts commit b56df5c07f7dc9ac9d718ca47c10b0683a9b916f.
|
|
|
|
|
|
|
|
|
| |
* fixes #22246; generate `__builtin_unreachable` hints
* use elif
* indentation
* fixes holy enums in sim
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #22174; fixes destructor examples
* Update doc/destructors.md
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
|
|
|
|
|
|
|
|
| |
* add a changelog for `ensureMove`
* Update changelogs/changelog_2_0_0_details.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* .
* Add Valgrind for Bisect bot in GitHub Actions
|
|
|
|
|
|
|
| |
param (#22337)
* fixes an issue where byref wasnt properly handled when using it in a generic param
* removes unreachable check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* implement `ensureMove`
* use an additional flag
* improve some logics
* progress: fixes discard ensureMove
* forbids nested expressions
* improve error messages
* checkpoint
* fixes cursor
* ADD MORE TESTS
* fixes cursorinference again
* tiny cleanup
* improve error messages
* fixes docs
* implement comments add more tests
* fixes js
|
|
|
|
| |
When compiling code that uses PackedSet with warnings enabled, `var ret`
in `bitincl` emits a "XDeclaredButNotUsed" warning.
|
|
|
|
|
| |
* [JS] Fix bitwise ops & shifts
* Test `int64` & `uint64` only with `jsbigint64`
|
| |
|
|
|
|
|
| |
* [JS] Fix casting to ints
* Simplify `genCast` by using `asUintN`/`asIntN`
|
|
|
|
|
|
|
|
|
|
|
| |
discriminator with defaults (#22303)
* fixes #22301; rejects branch initialization with a runtime discriminator with defaults
* undefault nimPreviewRangeDefault
* fixes tests
* use oldCheckDefault
|
|
|
| |
change stmt to complexOrSimpleStmt in the top grammar rule
|
|
|
|
|
| |
* fixes #22321; Building DLL with --noMain produces an unexpected DllMain on devel branch
* remove implicit nomain
|
|
|
|
|
|
|
| |
* Expands codegenDecl to work in function params. fixes #22306
* makes the test more concrete so T{lit} params dont match
* adds sfCodegenDecl
|
|
|
|
|
| |
Testcase
Co-authored-by: SirOlaf <>
|
|
|
|
|
|
|
| |
(#22318)
* implemented 'push quirky' switch for fine grained control over the exception handling overhead
* documentation
|
|
|
| |
Co-authored-by: SirOlaf <>
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: SirOlaf <>
|
|
|
| |
ref #22297; return in the finally in the closure iterators
|
|
|
|
|
| |
* test CI
* disable osx
|
|
|
|
|
|
|
|
|
|
|
| |
* wip; fixes #22210; transform return future in try/finally properly
* add a test case for #22210
* minor
* inserts a needsCompletion flag
* uses copyNimNode
|
|
|
|
|
| |
* fixing minor typo
* Adding err msg
|
|
|
| |
Pass the config down so we can check if the `--showNonExports` flag is used
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Adjustments
* Moving example
* typo
* adding code example back and fix terms
* Condensing
|
| |
|
| |
|
|
|
| |
Respect `--gcc.exe` and similar options when `--genScript:on` is used.
|
|
|
| |
extend the skipAddr for potential types
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add example object into testproject
The proc is there to check the case of an identDef being inside an identDef (We do want to render those even if they are not exported)
* Add `inside` set to `TSrcGen` which allows us to see what context we are in
This is done instead of adding another inXyz bool parameter
We then use this to know if we are inside an object when rendering an nkIdentDefs (To know if we need to skip rendering it)
* Update test files
|
|
|
|
|
| |
* Fixes Naive virtual crash the compiler fixes #22269
* adds type specific test
|
| |
|
|
|
| |
* Fix #22273
|