Folkert
8b144c446d
remove PartialEq for a bunch of types that we should not compare
2022-04-20 16:58:30 +02:00
Folkert
a4c8ebd55e
fix can tests; qualify imports from num
2022-04-09 14:41:45 +02:00
ayazhafiz
543ca97a1c
Remove spaces around var in record update
...
Closes #2534
2022-02-20 20:17:29 -05:00
ayazhafiz
21d1cd786c
Fix can tests
2022-02-03 00:43:04 -05:00
ayazhafiz
097c5afc73
Check lower bounds for numeric literals, and permit 128-bit literals
2022-02-02 23:35:57 -05:00
ayazhafiz
f55e767035
Fix test_can tests
2022-02-01 22:49:52 -05:00
ayazhafiz
095204ec7a
Fix can tests
2022-01-23 12:35:31 -05:00
Jan Van Bruggen
1e9d2d1239
Remove accidental trailing spaces
2022-01-18 22:25:46 -07:00
Joshua Warner
cb8cf44596
fmt
2022-01-01 18:20:05 -08:00
Joshua Warner
8e1241adea
Remove line/column fields
2022-01-01 18:20:05 -08:00
Joshua Warner
eb35e9914f
Fix tests
2022-01-01 18:20:05 -08:00
Joshua Warner
4b04ec6bbc
Add Position::offset, and recompute line/column info based on source
2022-01-01 18:20:05 -08:00
Joshua Warner
bd7b1e5013
Make Loc::new take Positions
2022-01-01 18:20:05 -08:00
Joshua Warner
22e2545fd6
format
2021-12-22 20:46:42 -08:00
Joshua Warner
4d7070ce3b
Always combine line,column into Position
2021-12-22 20:32:46 -08:00
Folkert
bc71cf53d6
simplify capturing closure IR gen
2021-11-03 14:26:14 +01:00
Jared Ramirez
ced4307b46
Fix can tests
2021-08-26 11:39:21 -07:00
Richard Feldman
267836226c
s/CodePoint/CodePt/g
2021-08-07 21:46:20 -04:00
Folkert
899cbeabd7
fix extra ampersands
2021-07-29 17:32:08 +02:00
Folkert
fecb83b9c2
fixes
2021-05-07 11:00:15 +02:00
Folkert
48f392f372
fix bad test examples using unbound type alias variables
2021-05-05 19:54:10 +02:00
Folkert
112e97c4a2
improve circular definition error reporting
2021-04-10 21:39:20 +02:00
Folkert
41bfb0b69a
all tests working again
2021-03-15 21:49:19 +01:00
Eric Henry
f86888de46
fix tests, i64 conversions
2021-03-12 21:16:32 -05:00
Eric Henry
fe60805278
fix test, expect i128
2021-03-12 20:56:52 -05:00
Folkert
41720ec5db
attempt at multiline string
2021-02-26 21:14:46 +01:00
Folkert
5ec0103996
make parser helpers emit a more specific error (line too long)
2021-02-26 19:44:26 +01:00
Folkert
94fc5a1935
parse scientific notation
2021-02-26 16:09:17 +01:00
Folkert
0684a93727
fix offsets, add tests
2021-02-26 15:52:44 +01:00
Chadtech
171e0358f3
Mono and can tests for Dict.len Dict.empty
2021-01-24 14:43:08 -05:00
rvcas
27cfd4d7ad
more test fixes
2021-01-04 15:18:49 -05:00
Folkert
3469cf7acc
remove uniqueness tests
2020-12-31 22:51:54 +01:00
rvcas
4987721154
feat(Num): rename Num.Int to Num.I64
2020-12-07 19:17:20 -05:00
Sébastien Besnier
66392eeeaf
other parsing adjustment!
2020-11-08 13:48:19 +01:00
Sébastien Besnier
1c5f381c09
cargo fmt
2020-11-08 13:48:19 +01:00
Sébastien Besnier
8ac078936a
add some tests around definition parsing -- all passing at the first time !
2020-11-08 13:48:19 +01:00
Richard Feldman
6c01d02de0
Make ann_pattern and ann_type references
2020-11-08 13:48:19 +01:00
Richard Feldman
b0e4f4c97f
Reproduce nested_unannotated body
2020-11-08 13:48:19 +01:00
Sébastien Besnier
01b9b4a08d
update nested test
2020-11-08 13:45:47 +01:00
Sébastien Besnier
ad9ff3b3a9
add nested tests
2020-11-08 13:45:47 +01:00
Sébastien Besnier
6dbde806d6
cargo-fmt
2020-11-08 13:43:11 +01:00
Sébastien Besnier
f4c1af0f19
test_can pass
2020-11-08 13:43:11 +01:00
Sébastien Besnier
b2e6ebd32e
add tests
2020-11-04 09:51:37 +01:00
Folkert
8b3b677439
remove aliases from Let and LetCon
2020-10-31 15:27:24 +01:00
Folkert
2e1e87ad6a
add closure size variable
2020-10-02 00:53:02 +02:00
Richard Feldman
37a254cef3
Interpolate strings by desugaring to Str.concat
...
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
2e15443c8c
Canonicalize unicode code point escapes
2020-08-31 23:13:50 -04:00
Richard Feldman
274e7e786d
Constrain string interpolation
2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a
Get things compiling
2020-08-31 23:13:50 -04:00
Richard Feldman
81a1111cae
Reproduce unused optional fields bug
2020-07-20 21:44:42 -04:00