Commit Graph

3731 Commits

Author SHA1 Message Date
Andreas Rumpf
49e686ab4e fixes #1286; object case transitions are now sound 2019-05-27 21:29:02 +02:00
Jasper Jenkins
f774426095 Smarter variant object construction (#11273) 2019-05-26 21:22:02 +02:00
Oscar Nihlgård
3a06022071 Enable range checking for unsigned integers (#11313)
* Enable range checking for unsigned integers

* Make the tests green
2019-05-25 20:48:13 +02:00
Andreas Rumpf
7e9cda7dba fixes #10299 (#11324) 2019-05-25 07:33:33 +02:00
Andreas Rumpf
7e53c1c5c5 fixes #11188 (#11319) 2019-05-24 22:50:43 +02:00
Andreas Rumpf
ef8ddef47b fixes #10912 (#11317)
* fixes #10912

* update the tutorial examples
2019-05-24 18:33:53 +02:00
Araq
03e619349f cleanup keineschweine test; removes unused module 2019-05-24 09:43:33 +02:00
Andreas Rumpf
39a3dbb16b fixes #11187 (#11315) 2019-05-24 08:19:05 +02:00
Araq
c7de1a252e fixes #11257 2019-05-24 00:44:49 +02:00
Araq
b75ad05267 fixes move analyser; refs #11257 2019-05-24 00:12:36 +02:00
Andreas Rumpf
aa4cf92ae8 fixes #11309 (#11310) 2019-05-23 19:32:44 +02:00
Andreas Rumpf
fd16875561 fixes #8568 (#11303)
* fixes #8568

* fixes regression
2019-05-22 20:59:54 +02:00
Araq
85ac4bfff6 closes #6076 2019-05-22 15:42:34 +02:00
Andreas Rumpf
1e97b420bb fixes #7167 (#11300)
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
57bc8d73b4 fixes subtype relation regression 2019-05-22 07:41:16 +02:00
Araq
90e882d55b fixes #11239 2019-05-22 07:41:16 +02:00
Arne Döring
f94ec363ab Allow void macro result (#11286)
* allow void macro result
* add test for void macro result type
2019-05-21 21:31:40 +02:00
Ico Doornekamp
c01f7bfdaf More specific error message for unsupported recursion in iterators (#11283) 2019-05-20 15:22:42 +02:00
Arne Döring
aeb6ec27de fix for return in macro (#9666); fixes #5874 2019-05-20 12:18:53 +02:00
jcosborn
433ce7bea2 move test for #7632 above import strformat (#11270) 2019-05-20 10:17:56 +02:00
Ștefan Talpalaru
13b3e4af8a fixes #11275 (#11276) 2019-05-20 09:29:13 +02:00
Miran
8f198db2ca fixes #10952, UNC paths (#11260) 2019-05-16 21:06:04 +02:00
Jasper Jenkins
90ed904c4d range/case fixes (#11264) 2019-05-16 16:36:40 +02:00
Andreas Rumpf
e26545797e fixes #7816 (#11261) 2019-05-15 21:12:07 +02:00
Arne Döring
2339542832 Tuple error message (#11141); fixes #3211 2019-05-15 17:59:06 +02:00
Oscar Nihlgård
bc0f2f0dd2 Add test case for #3766 (#11252) 2019-05-15 08:22:45 +02:00
Andreas Rumpf
95f8ed0382 fixes #6732 (#11255) 2019-05-15 08:18:20 +02:00
Andreas Rumpf
9ecb24e443 fixes #88 (#11243) 2019-05-15 08:17:29 +02:00
Andreas Rumpf
2fba65b29f fixes #7937 (#11244) 2019-05-14 07:44:39 +02:00
Aditya Siram
a6d4421241 Fixes #9365 : let with exportC pragma in template. (#11235)
* Fixes #9365 : let with exportC pragma in template.

* Fix according to comments.
2019-05-14 01:34:32 +02:00
Arne Döring
55cf971adf fixes #11194 (#11242) 2019-05-14 01:28:44 +02:00
Jasper Jenkins
6fc74cec55 Iterator fixes (#11234) 2019-05-13 20:50:21 +02:00
Andreas Rumpf
69658ad396 fixes #11131 2019-05-13 17:25:57 +02: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
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
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
Jasper Jenkins
55a3b51e40 fix complex typdesc iterators 2019-05-08 14:29:42 -07: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
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
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
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
Araq
2475d92c36 fixes #10192 2019-05-06 21:42:49 +02:00
Oscar Nihlgård
4c6fc173b7 low/high for float ranges (#11177) 2019-05-06 21:19:40 +02:00
jcosborn
b1091f85d4 fixes #9578 (#11176)
* fixes #9578

* fixed and expanded test
2019-05-06 09:34:03 +02:00
Araq
0ecaaa85e9 fixes #9403 2019-05-05 16:08:16 +02:00