Idris2-boot/tests
Ohad Kammar fbf82eaf0b Bugfix #269
Make desugaring/elaboration of interfaces, interface implementations,
records, and parameter blocks take into account the pragma
`%unbound_implicits off`.

Main changes:

(a) Execute the pragma also during desugaring
(b) Check whether `isUnboundImplicits` is on at each desugaring step

Alternatives I didn't take:

(1) Changing `findBindableNames` to effectfully check the flag.

  Rationale:
  Apart from turning a pure function into an effectful one, this
  would mean repeatedly calling `findBindableNames`, only to do
  nothing once the flag is read.

(2) Adding another function that takes multiple places (list of terms)
  that might contain bindable names, and before dispatching
  `findBindableNames` on each term, checking the flag.

  Rationale: I didn't want to add another abstraction. (weak
  rationale)

@edwinb @gallais : if you prefer (2), I can do that.
2020-04-06 15:56:48 +01:00
..
chez Ints in buffers are 32 bit 2020-03-27 20:54:39 +00:00
ideMode Update idemode tests 2020-03-27 00:34:21 +00:00
idris2 Bugfix #269 2020-04-06 15:56:48 +01:00
ttimp Look for scrutinee type in case 2020-03-27 14:27:33 +00:00
typedd-book Rabbit hole 2020-03-27 00:11:21 +00:00
Main.idr Bugfix #269 2020-04-06 15:56:48 +01:00
Makefile Add instructions on how to run a subset of the tests 2019-07-28 20:21:34 +02:00
README.md Add instructions on how to run a subset of the tests 2019-07-28 20:21:34 +02:00

Tests

Note: The commands listed in this section should be run from the repository's root folder.

Run all tests: make test

To run only a subset of the tests use: make test only=NAME. NAME is matched against the path to each test case.

Examples:

  • make test only=chez will run all Chez Scheme tests.
  • make test only=ttimp/basic will run all basic tests for TTImp.
  • make test only=idris2/basic001 will run a specific test.