Commit Graph

15310 Commits

Author SHA1 Message Date
Jasper Jenkins
07eca7decd Fixes #4140 (#11238)
* correct error

* cleaner

* fix line info
2019-05-13 07:47:30 +01:00
Clyybber
0c869eaa47 Fix destructor injections for global variables (#11230)
* attach global destructors at end of mainModule
* Add testcase
* Minor cleanup
* Inject topLevelVar temporaries' destructors early
* Fix megatest
2019-05-13 08:28:33 +02:00
Araq
a3e27ffa2c fixes #11215 2019-05-12 15:07:35 +02:00
Benny Elgazar
a83d609960 exposing procs (#11218) 2019-05-11 10:32:34 +02:00
Arne Döring
b92fd30282 rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) 2019-05-11 10:11:08 +02:00
Araq
f03391d477 fixes #6855 2019-05-10 19:50:23 +02:00
Araq
95b65504e6 sequtils: minor typo 2019-05-10 19:50:23 +02:00
Ico Doornekamp
a170719d1a repr on seq now outputs @[...] (#11224) 2019-05-10 16:33:42 +02:00
Araq
9aa6aa6514 make epochTime available in DLLs; refs #6855 2019-05-10 15:20:39 +02:00
Arne Döring
3ef727adfe Testament print failed command (#11219) 2019-05-10 14:04:08 +02:00
Araq
22881a3543 closes #9825 2019-05-10 11:43:58 +02:00
Oscar Nihlgård
de5c0d3aa9 Make range checks in semConv (#7164)
* Remove NaN/Inf/NegInf magic
* Make range checks in semConv
* fix the failing line
* fix `firstOrd` and `lastOrd`
* fix `localError`
* remove debug comment
* Cleanup, fix failing test
* make tests green
2019-05-10 11:10:11 +02:00
Araq
3a479ff53f fixes #11153 2019-05-10 09:44:20 +02:00
Miran
e54546bcff fixes #7569, all credit to @vincentvidal (#11213) 2019-05-10 08:48:12 +02:00
Clyybber
a4f531c243 Add testcase for #9684 (#11221) 2019-05-10 08:03:48 +02:00
Clyybber
6be9b98e35 Fix #9844 (#11216)
* Fixes #9844
2019-05-09 22:58:41 +02:00
cooldome
f4c9eb1774 fixes #11204 (#11207) 2019-05-09 16:45:56 +02:00
Andreas Rumpf
532edc3e9a Merge pull request #11208 from JasperJenkins/10139
Fix typdesc arg iterators
2019-05-09 11:53:29 +02:00
Jjp137
541751305c manual: fix typo in inImplicitlyConvertible [ci skip] (#11211) 2019-05-09 06:47:43 +02:00
Jasper Jenkins
55a3b51e40 fix complex typdesc iterators 2019-05-08 14:29:42 -07:00
Andreas Rumpf
aa76857462 Merge pull request #11181 from nim-lang/pending-future-tracking
Implements pending future tracking in async.
2019-05-08 20:37:31 +02:00
Andreas Rumpf
641e8f596c Merge pull request #11201 from nim-lang/araq-fixes-11200
fixes 11200
2019-05-08 20:36:25 +02:00
Andreas Rumpf
3b27b80069 Merge pull request #11069 from jrfondren/devel
(docs) fix unidecode.unidecode example input string
2019-05-08 17:56:48 +02:00
Andreas Rumpf
99ae911391 Merge pull request #11132 from jrfondren/expand-amb-identifier-output
provide more useful ambiguous-identifier error output
2019-05-08 17:54:53 +02:00
Andreas Rumpf
cd79c6f532 Merge pull request #11159 from JasperJenkins/const-named-tuple-unpack
Const named tuple unpacking
2019-05-08 17:50:41 +02:00
Andreas Rumpf
65b6250e59 Merge pull request #11199 from mratsim/allow-float-ranges-again
Reallow float ranges in random module
2019-05-08 17:49:49 +02:00
Andreas Rumpf
61380d0a07 Small cleanup (#11185)
* Remove mStaticTy and mTypeTy

* Replace countup(x, y-1) with x ..< y

* Replace countup(x, y) with x .. y
2019-05-08 17:18:46 +02:00
Araq
f6c9fe789f fixes #11200 2019-05-08 16:31:59 +02:00
Araq
ddad57e7a9 typo 2019-05-08 15:05:21 +02:00
Matt Haggard
8180d443b9 Allow for locale-based parsing/formatting of dates (#11170)
* Allow for locale-based parsing/formatting of dates

* Updates based on review feedback of PR 11170

DateTimeLocale arrays are now indexed by Month and WeekDay enums.
More sane date used for testing.
Documentation newline.
Case change of DefaultLocale (and make it public)

* Add changelog entry for DateTimeLocale addition to times module

* Use pattern symbols for DateTimeLocale attribute names
2019-05-08 13:48:04 +02:00
Mamy André-Ratsimbazafy
5363b8cc59 Reallow float ranges in random module 2019-05-08 13:48:03 +02:00
Araq
072566d5f4 fixes #11196 2019-05-08 13:09:49 +02:00
Araq
ac670a49c0 no 'defers' in my backend 2019-05-08 12:47:09 +02:00
Jacek Sieka
3d9269195f testament: apply skip to hard-coded categories (#11168)
* testament: apply skip to hard-coded categories

* allow disabling megatest
2019-05-08 12:35:13 +02:00
Taylor Hoff
1e89e5bf9c Pass command line arguments from build_all.sh to build.sh (#11195) 2019-05-08 10:23:17 +02:00
Arne Döring
34405db80f forbid casting to bare unchecked array (#11186)
* fixes #11180, forbid casting to unchecked array.
* allow UncheckedArray as param
2019-05-08 09:36:27 +02:00
Miran
a5fb0acf5f CountTable: check for usages after sorting (#11189) 2019-05-08 09:31:57 +02:00
Dominik Picheta
d24585c49e Merge pull request #11190 from zestyr/etimeout
Update outdated ETimeout exception name
2019-05-07 22:38:59 +01:00
Jasper Jenkins
425baeaec6 cleanup (#11192) 2019-05-07 20:33:09 +02:00
Clyybber
cc28eef38e Replace countup(x, y) with x .. y 2019-05-07 12:37:28 +02:00
Clyybber
f18b3af9d4 Replace countup(x, y-1) with x ..< y 2019-05-07 12:32:05 +02:00
Clyybber
9ffab44c35 Remove mStaticTy and mTypeTy 2019-05-07 11:23:03 +02:00
Arne Döring
6f7f043c9b Fix type recursion check (#11144)
* fixes #3456
* add test #3456
2019-05-07 08:29:17 +02:00
Jasper Jenkins
a6ba3116b2 Fixes for ptr array deref codegen (#11191)
* fixes for ptr array derefence codegen
* fix comments, make diff nicer
2019-05-07 08:14:38 +02:00
Zestyr
a06038be3f Update outdated ETimeout exception name 2019-05-07 01:28:33 +02:00
Araq
7804b5c558 nicer 'CC' output messages 2019-05-06 23:58:15 +02:00
Araq
2475d92c36 fixes #10192 2019-05-06 21:42:49 +02:00
Araq
a85d387928 fixes #10978 2019-05-06 21:42:49 +02:00
Araq
4032726e87 manual: add a section about aliasing restrictions for parameter passing; Spark inspired 2019-05-06 21:42:49 +02:00
Araq
8b9d59d973 koch.nim: nothing to do here 2019-05-06 21:42:49 +02:00