Clyybber
|
7e747d11c6
|
Cosmetic compiler cleanup (#12718)
* Cleanup compiler code base
* Unify add calls
* Unify len invocations
* Unify range operators
* Fix oversight
* Remove {.procvar.} pragma
* initCandidate -> newCandidate where reasonable
* Unify safeLen calls
|
2019-11-28 17:13:04 +01:00 |
|
cooldome
|
e1b1759439
|
fixes #5050; fixes #11826 (#12606) [backport]
|
2019-11-07 14:47:26 +01:00 |
|
Federico Ceratto
|
39290cf88c
|
Fix spellings (#12277) [backport]
|
2019-09-27 07:02:54 +02:00 |
|
Clyybber
|
ed1d41c51e
|
Small ast.nim cleanup (#12156)
* Remove sonsLen
* Use Indexable
|
2019-09-09 11:54:15 +02:00 |
|
Araq
|
0e4a8bfb28
|
fixes 'unused module' feature for 32 bit builds of Nim for good [nobackport]
|
2019-08-09 16:38:10 +02:00 |
|
Andreas Rumpf
|
04708742e7
|
fixes #11809
|
2019-08-08 21:41:05 +02:00 |
|
Araq
|
affe1be47c
|
fixes #11790 [nobackport]
|
2019-07-19 22:24:56 +02:00 |
|
Andreas Rumpf
|
fbb0642e27
|
Merge branch 'devel' into araq-detect-unused-imports
|
2019-07-18 18:16:32 +02:00 |
|
Araq
|
07d465ca42
|
[refactoring] remove unused imports in the compiler and in some stdlib modules
|
2019-07-18 00:36:03 +02:00 |
|
Araq
|
4137a4dbf3
|
[feature] detect unused imports
|
2019-07-17 22:36:23 +02:00 |
|
Araq
|
c94647aeca
|
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
|
2019-07-10 12:42:41 +02:00 |
|
Andreas Rumpf
|
cab0c3e544
|
fixes #3333
|
2019-07-06 20:38:10 +02:00 |
|
Clyybber
|
f18b3af9d4
|
Replace countup(x, y-1) with x ..< y
|
2019-05-07 12:32:05 +02:00 |
|
genotrance
|
45759b5e90
|
Fix 105, few fixes for 101 (#11148)
|
2019-05-04 22:38:52 +02:00 |
|
Neelesh Chandola
|
9faad7591e
|
Deprecate gc v2 (#10151)
* Deprecate gc v2
* warnDeprecated now has custom messages
|
2019-01-01 13:50:48 +01:00 |
|
Neelesh Chandola
|
2acefee044
|
Nimsuggest now shows gotodef for y in from x import y (#10023)
|
2018-12-18 19:51:14 +01:00 |
|
Araq
|
61d08ebcd8
|
IC: further progress
|
2018-11-22 23:17:47 +01:00 |
|
Andreas Rumpf
|
86556ebfdb
|
compiler refactoring; use typesafe path handing; docgen: render symbols between modules
|
2018-09-07 19:21:16 +02:00 |
|
Araq
|
47cbe0e54d
|
fixes #8852
|
2018-09-03 11:19:18 +02:00 |
|
Araq
|
2f7b979e38
|
fixes #8066
|
2018-08-31 00:30:19 +02:00 |
|
Oscar Nihlgård
|
96363ecaf3
|
Fix nkImportAs regression (#8796)
|
2018-08-28 11:35:52 +02:00 |
|
Oscar Nihlgård
|
d6d3f092a3
|
Fix for module alias inside brackets (#8726)
|
2018-08-23 10:23:02 +02:00 |
|
Andreas Rumpf
|
826c1e2d78
|
incremental compilation: implemented basic replay logic
|
2018-06-02 09:41:27 +02:00 |
|
Andreas Rumpf
|
61fb83ecbb
|
baby steps for incremental compilation
|
2018-05-30 23:50:34 +02:00 |
|
Andreas Rumpf
|
40ec7be45c
|
refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
|
2018-05-27 22:09:15 +02:00 |
|
Andreas Rumpf
|
669a564492
|
remove more global variables in the Nim compiler
|
2018-05-27 11:10:56 +02:00 |
|
Andreas Rumpf
|
bf6c2c5ccf
|
preparations of making compiler/msgs.nim free of global variables
|
2018-05-17 15:21:22 +02:00 |
|
Araq
|
5526252fa0
|
fixes testament compilation
|
2018-05-14 17:45:44 +02:00 |
|
Andreas Rumpf
|
328e7a1005
|
options.nim: no global variables anymore
|
2018-05-13 17:52:21 +02:00 |
|
Andreas Rumpf
|
e4c088721a
|
make nimsuggest compile again
|
2018-05-13 09:53:00 +02:00 |
|
Andreas Rumpf
|
bb8c47b496
|
pragmas compiles again
|
2018-05-11 18:53:18 +02:00 |
|
Zahary Karadjov
|
cf13c5fba4
|
implement the export/except statement
|
2018-05-07 09:37:49 +02:00 |
|
Araq
|
8518683dc7
|
the 'deprecated' pragma for modules now supports an error message
|
2018-04-06 11:59:49 +02:00 |
|
Yuriy Glukhov
|
60c7bbc8b7
|
Jump to definition on import will open the imported module (#7155)
|
2018-01-31 16:39:01 +01:00 |
|
Araq
|
8db5b32ff7
|
make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693
|
2017-12-15 12:16:03 +01:00 |
|
BigEpsilon
|
e2af486434
|
Add sections (type, var, let, const, using) support for reorder pragma (#6326)
|
2017-10-28 11:33:35 +02:00 |
|
Andreas Rumpf
|
02ff5f596c
|
implemented new experimental scriptable import mechanism
|
2017-10-01 23:38:23 +02:00 |
|
Andreas Rumpf
|
fd4ef6ae8f
|
.pure enums are much more convenient to use now
|
2017-09-17 17:36:37 +02:00 |
|
Andreas Rumpf
|
24a0927644
|
fixes #5185
|
2017-02-08 23:04:20 +01:00 |
|
Andreas Rumpf
|
64912d3d70
|
fixes #5185
|
2017-01-06 18:15:08 +01:00 |
|
Andreas Rumpf
|
4e481cc316
|
implements module grouping for the import statement
|
2016-12-21 22:13:50 +01:00 |
|
Andreas Rumpf
|
01ae0d28d4
|
recursive modules are only detected to improve error messages
|
2016-11-24 12:27:21 +01:00 |
|
Andreas Rumpf
|
7be1c55cf1
|
make tests green again
|
2016-11-24 09:14:36 +01:00 |
|
Araq
|
074f276c8a
|
disallow recursive module dependencies
|
2016-11-23 23:23:31 +01:00 |
|
Araq
|
9e6fb3f696
|
new dependency tracking for nimsuggest
|
2016-11-05 01:19:23 +01:00 |
|
Araq
|
773d17cd14
|
big refactoring: step 1
|
2016-10-31 15:34:44 +01:00 |
|
Andreas Rumpf
|
154db46db8
|
fixes a regression that caused --import in a config file to break things
|
2016-08-29 11:33:41 +02:00 |
|
Araq
|
68e30d7d52
|
tester cleanup; enable some rod tests
|
2016-08-27 13:38:39 +02:00 |
|
Kier Davis
|
2bea2bdbbf
|
Locate 'attempt to redefine' errors at the import statement rather than at the first line of the imported module. Fixes #4541.
|
2016-07-30 14:29:45 +01:00 |
|
Andreas Rumpf
|
893be3a5a4
|
changed the compiler's path handling; fixes #546
|
2016-05-31 03:04:45 +02:00 |
|