| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Implement Unix file regularity check
* update std/dirs also
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test qualifiedLookUp in templates
* check later
* add testcase
* add 4errormsg
* Update tests/template/m1027a.nim
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* Update tests/template/m1027b.nim
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
|
|
|
|
| |
* fixes #20645
* better bugfix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added 'openarray[char]' overloads to 'std/parseutils'
* Removed redundant `start` and `last` params from slice using procs
* Fixed type for parseIdent overload
* fixed one by off with 'substr'
* removed missed start parameters for procedures
* Added 'openarray[char]' overloads to 'std/parseutils'
* Removed redundant `start` and `last` params from slice using procs
* Fixed type for parseIdent overload
* fixed one by off with 'substr'
* removed missed start parameters for procedures
* Fixed VM op to work with new 'opcSlice'
* Corrected captureBetween's logic to work with openarray
* js sys's parsefloat logic now uses openarray
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
|
|
|
|
| |
* fixes #19278; make `privateAccess` work with generic ref object
* fixes
|
|
|
|
|
|
|
|
|
|
|
| |
* Add test for tuple being invalid size
* Test tuple size before accessing fields
* Fix formatting for import
* Fix not being able to build from csources_v1
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* borrowed procs can have a body now
* fixes examples
|
|
|
|
|
|
|
| |
Fix double defer with break in closureiterators
Signed-off-by: Tanguy <tanguy@status.im>
Signed-off-by: Tanguy <tanguy@status.im>
|
|
|
|
|
|
|
|
|
|
|
| |
* Added tests
* Fix expected string
* Allow hooks to take an optional parameter that is the current options
* Add options to hooks for other generic types
* Fix doc links
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* split std/os; add typesafe std/paths
* add more files, dirs, paths
* add documentation
* add testcase
* remove tryRemoveFile
* clean up
* Delete test.nim
* apply changes
* add `add` and fixes
|
| |
|
| |
|
| |
|
|
|
| |
closes #19969; add testcase
|
|
|
|
|
| |
* implemented strictCaseObjects
* changelog update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
time. (#20586)
* Implemented opcSlice to make 'toOpenArray' work on the VM
* Added nkOpenArray for VM to reduce bodgeness
* Fixed range issues and erraneous comments
* Range check correctly for openArrays in opcLdArr
* Inverted logic for ldArr checking
* vm now supports slicing strings
* Added string tests
* Removed usage of 'nkOpenArray' and redundant operations
* Refactored vmSlice implementation, removing redundant and incorrect code
* Made tuples go throw opcWrObj for field assignment
* All strkinds should be considered for openarrays
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#20578)
* Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent
* Add test
* Update compiler/lookups.nim
Co-authored-by: SirOlaf <a>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* refactor envvars, oserrors; register vmops
* remove type definitions
|
|
|
| |
fixes niminst with stricteffects; add testcase
|
|
|
|
|
| |
* fixes #20572
* added a test case
|
|
|
| |
Allow single branch when statements
|
|
|
|
|
|
|
| |
(#20574)
* fixes #20515; base requires explicit `{.gcsafe.}` to be GC-safe
* add tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* enable stricteffects
* add gcsafe
* fix tests
* use func
* fixes pegs tests
* explicitly mark repr related procs with noSideEffect
* add nimLegacyEffects
* change URL
* fixes docopt
* add `raises: []` to repr
* fixes weave
* fixes nimyaml
* fixes glob
* fixes parsetoml
* Apply suggestions from code review
* Update testament/important_packages.nim
* add legacy:laxEffects
|
|
|
| |
fix nim-lang#19700 Crash when passing a template to a generic function expecting a procedure
|
|
|
|
|
|
|
| |
(#20548)
* fix #8821 JS codegen can produce extreme switch statements with case a of range
* remove totalRange
|
|
|
|
|
|
|
|
|
| |
* fixes #3748
* fix the regression
* don't use the new allocator for the SSL wrapper
* fixes regression
|
| |
|
|
|
|
|
| |
(#20554)
fix #18990 Regression in proc symbol resolution; Error: attempting to call routine
|
|
|
| |
oids sticks 24 length strings
|
|
|
|
|
| |
* fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural'
* try fix
|
|
|
|
|
| |
* 'lock levels' are deprecated, now a noop
* fixes tests
|
|
|
|
|
|
|
|
|
|
|
| |
* Make rstgen work with gcsafe
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* add tests and fixes
* if nimHasWarningAsError
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
|
| |
|
|
|
|
|
| |
* fix #18886 crash on ambiguous proc cast
* follow suggestion
|
|
|
|
|
|
|
| |
* Revert "fixes #19000 (#19032)"
This reverts commit 2bda4a30a6b12dd0840dc347e454e54fe26721e7.
* fixes #20516; add testcase
|
| |
|
| |
|
| |
|