This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-30 07:02:24 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
c52b029986
Idris2
/
tests
/
chez
/
newints
/
run
5 lines
78 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Move rm -rf to the beginning of the test While the discussion about how to refactor test framework is not finished (#1654), make this change: move `rm -rf build` in the beginning of the test. For these reasons: * it is useful to inspect the contents of the `build` directory especially after the test failure * if build crashes mid-test (e.g. process killed), next run should not be affected by the `build` directory from the previous run
2021-07-14 00:54:53 +03:00
rm -rf build
[ 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 10:22:06 +03:00
$1 --no-banner --no-color --console-width 0 IntOps.idr < input
Reference in New Issue
Copy Permalink