Commit Graph

3995 Commits

Author SHA1 Message Date
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
2199f83280 improve error message for twrongcolon 2018-02-06 09:15:54 +01:00
Andreas Rumpf
fa0f5d0238 fixes #6946 2018-02-05 21:21:22 +01:00
Andreas Rumpf
d72578b3dd more chatty error message for the 'discard' checking 2018-02-05 16:49:06 +01:00
Andreas Rumpf
e2cf3b94f2 improve the error message for thread local variables 2018-02-05 08:47:35 +01:00
Andreas Rumpf
31263ef8f3 fixes #5450 2018-02-04 07:35:32 +01:00
Andreas Rumpf
c1679edad2 fixes #7080 2018-02-04 07:23:47 +01:00
Andreas Rumpf
326b7dc556 improve the error messages regarding type mismatches in overloading resolution 2018-02-04 07:04:50 +01:00
Andreas Rumpf
4e0b3fefa3 Merge branch 'devel' into araq-overloading-symmetry 2018-02-03 07:58:31 +01:00
Andreas Rumpf
992fd38487 make tests green again 2018-02-03 07:57:47 +01:00
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
Andreas Rumpf
212457f5e0 the .deprecated pragma for procs now supports a user-definable deprecation message 2018-02-02 12:53:38 +01:00
Andreas Rumpf
1b22a3b346 disabled non-documented overloading rule for templates and macros 2018-02-02 11:00:42 +01:00
Andreas Rumpf
bd1dfa4b38 better type inference for numerical types; prerequisitive for version 1 2018-02-02 09:29:05 +01:00
cooldome
5460bd2764 Small performance improvement in sempass2 (#7168) 2018-02-01 18:34:37 +01:00
Yuriy Glukhov
60c7bbc8b7 Jump to definition on import will open the imported module (#7155) 2018-01-31 16:39:01 +01:00
GULPF
94038545be Fixes codegen bug with literal negative zero, fixes #7079 (#7158)
* Fixes #7079

* Fix handling of neg zero during constant folding
2018-01-31 16:29:42 +01:00
Andreas Rumpf
b5538990a2 nimTypeNames feature: show generics properly 2018-01-31 14:29:08 +01:00
Andreas Rumpf
7648eb45b3 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-31 08:01:07 +01:00
Andreas Rumpf
a605fa8ba6 fixes #7129 2018-01-30 19:51:38 +01:00
Yuriy Glukhov
d84ace8a5b Fixes #7140 (#7154) 2018-01-30 15:25:41 +01:00
Yuriy Glukhov
02c1f120eb Fixes nimsuggest#78 (#7151) 2018-01-29 23:41:32 +01:00
cooldome
12b11fd848 Fix compiler crash on try expression with infix as (Fixes #7116) (#7112)
* Fix compiler crash

* make sure type is not lost
2018-01-29 05:59:49 +01:00
Araq
ad222e3015 Merge branch 'devel' into araq-newlines 2018-01-28 11:38:52 +01:00
Araq
7206c692a3 in triple line string literals the newline should be '\n' too 2018-01-28 11:38:25 +01:00
Andreas Rumpf
68dfd1729e fixes #6989 2018-01-27 07:59:40 +01:00
Andreas Rumpf
1d9087245c JS codegen bugfix: don't crash on wrong importcpp patterns 2018-01-25 16:02:13 +01:00
Andreas Rumpf
80caca15bd fixes #7089 2018-01-24 20:08:17 +01:00
Andreas Rumpf
c99f952dfb basic 'lent T' test works 2018-01-21 03:04:22 +01:00
Andreas Rumpf
33b0e73962 fixes most recent iterators-as-expressions regression 2018-01-18 18:57:29 +01:00
Andreas Rumpf
090d22c715 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-18 11:40:30 +01:00
Andreas Rumpf
6a2b57b4aa fixes #7093 2018-01-18 11:40:18 +01:00
cooldome
27aab0be16 Custom pragmas in procs bug fix (#7086) 2018-01-18 10:38:55 +01:00
jcosborn
399c5e38b7 don't make optNilCheck default to on for now (#7058)
* don't make optNilCheck default to on for now

* add conditional symbol nimHasNilChecks
2018-01-17 01:32:40 +01:00
Araq
f71f9f83c2 GC improvements; distinguish between thread local and globals in the marking step 2018-01-14 17:34:27 +01:00
Araq
425f221440 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-11 18:05:26 +01:00
Araq
df73d412ba introduce --symbolFiles:v2 as the next attempt to bring symbol files to Nim 2018-01-11 17:58:26 +01:00
jcosborn
d0a9fac362 avoid creating temporary in genObjConstr if possible (#7032) 2018-01-11 02:01:51 +01:00
sleepyqt
a54430ea2d Fix struct packing for VCC. (#7049)
"#pragma pack(1)" sets current alligment without pushing into stack,
so "#pragma pack(pop)" causing stack underflow.
2018-01-09 23:02:09 +01:00
cooldome
2c9e56a783 Implement custom annotations (#6987) 2018-01-09 15:25:22 +01:00
Andreas Rumpf
437caf4358 Merge branch 'devel' into nimv2 2018-01-08 20:04:25 +01:00
Andreas Rumpf
c924fac5c8 fixes #7019 2018-01-08 18:22:18 +01:00
Andreas Rumpf
ceb8ba4957 fixes #7018 2018-01-08 18:02:38 +01:00
Andreas Rumpf
2015895357 sink type begins to compile 2018-01-08 01:47:54 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Andreas Rumpf
3af73682e5 Merge branch 'devel' into nimv2 2018-01-07 13:59:29 +01:00
Andreas Rumpf
51c45c7201 symbol files: introduce more switches for debugging 2018-01-07 12:21:42 +01:00
Araq
e316665b7b work in progress: 'sink' and 'lent' types 2018-01-07 10:17:19 +01:00
Andreas Rumpf
3ae434a086 symbol files: do not regenerate method dispatchers for now 2018-01-04 21:08:34 +01:00
Andreas Rumpf
464d037c17 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-04 15:59:10 +01:00