Idris2/tests/ttimp
Stefan Höck 6cdf05f1ec
[ new ] Add Int(8/16/32/64) (#1352)
This adds new `Int8`, `Int16`, `Int32` and `Int64` data types
to the compiler, thus working towards properly specified integer
types as discussed in #1048.

In addition, the following changes / corrections are made:

* Support casts from `Char`, `String`, and `Double` to all integer
  types (and back). This fixes #1270.
* Make sure that all casts to limited-precision integers are properly
  bounds checked (this was not the case so far for casts from `String`
  and `Double` to `Int`)
* Add a thorough set of tests to make sure all bounds checks work
  correctly for all supported casts and arithmetic operations
2021-05-04 08:22:06 +01:00
..
basic001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
basic002 Add test script 2020-05-19 18:25:18 +01:00
basic003 add parens for some TTImp Shows 2020-06-06 17:16:43 -07:00
basic004 Add test script 2020-05-19 18:25:18 +01:00
basic005 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
basic006 [ new ] Add Int(8/16/32/64) (#1352) 2021-05-04 08:22:06 +01:00
coverage001 [ new ] Add Int(8/16/32/64) (#1352) 2021-05-04 08:22:06 +01:00
coverage002 [ new ] Add Int(8/16/32/64) (#1352) 2021-05-04 08:22:06 +01:00
dot001 [ new ] Add Int(8/16/32/64) (#1352) 2021-05-04 08:22:06 +01:00
eta001 Implement new application syntax 2020-10-01 12:43:43 +03:00
eta002 Implement new application syntax 2020-10-01 12:43:43 +03:00
lazy001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
nest001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
nest002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
perf001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
perf002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
perf003 Correct multiplicities when checking Pi binders 2021-03-09 17:23:05 +00:00
qtt001 adjusted source positions in failing tests 2021-01-22 15:08:49 +00:00
qtt003 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
record001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
record002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
record003 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
total001 Add test script 2020-05-19 18:25:18 +01:00
total002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
total003 Add test script 2020-05-19 18:25:18 +01:00