summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-10-04 18:45:10 +0800
committerGitHub <noreply@github.com>2022-10-04 12:45:10 +0200
commitf89ba2c951232fe7f82d211fe43f774e68563a73 (patch)
tree6ff5b198d40c501a20af953df362e7a654c3fb4f /config
parent6cf07271923a6c43d0ccaa0490c8a3d38ead678e (diff)
downloadNim-f89ba2c951232fe7f82d211fe43f774e68563a73.tar.gz
add default field support for object in ARC/ORC (#20480)
* fresh start

* add cpp target

* add result support

* add nimPreviewRangeDefault

* reduce

* use orc

* refactor common parts

* add tuple support

* add testcase for tuple

* cleanup; fixes nimsuggest tests

* there is something wrong with cpp

* remove

* add support for seqs

* fixes style

* addd initial distinct support

* remove links

* typo

* fixes tuple defaults

* add rangedefault

* add cpp support

* fixes one more bugs

* add more hasDefaults

* fixes ordinal types

* add testcase for #16744

* add testcase for #3608

* fixes docgen

* small fix

* recursive

* fixes

* cleanup and remove tuple support

* fixes nimsuggest

* fixes generics procs

* refactor

* increases timeout

* refactor hasDefault

* zero default; disable i386

* add tuples back

* fixes bugs

* fixes tuple

* add more tests

* fix one more bug regarding tuples

* more tests and cleanup

* remove messy distinct types which must be initialized by original types

* add tests

* fixes zero default

* fixes grammar

* fixes tests

* fixes tests

* fixes tests

* fixes comments

* fixes and add testcase

* undo default values for results

Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
Diffstat (limited to 'config')
-rw-r--r--config/nim.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 9f50a1f84..de525ae92 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -22,6 +22,7 @@ hint[LineTooLong]=off
 #hint[XDeclaredButNotUsed]=off
 
 threads:on
+define:nimPreviewRangeDefault
 
 # Examples of how to setup a cross-compiler:
 # Nim can target architectures and OSes different than the local host