Idris2/tests/base
Stiopa Koltsov 8fd58b3bdd More reliable exception handling in Control.App
Convert `App.Control.Exception` interface to an alias to `HasErr`.

Probably `Exception` interface need to be deprecated or removed.

Note similar problem exists with `PrimIO` calling `PrimIO, Exception`,
also need to be fixed.

Fix this scenario:

```
throwBoth : Has [Exception String, Exception Int] es => App es ()

throwOne : Has [Exception Int] es => App es Int
throwOne {es} = handle {err = String} {e = es} throwBoth (\r => pure 1) (\e => pure 3)
```

With this commit it works, before this commit it failed with:

```
Error: While processing right hand side of throwOne. Can't find an implementation for Exception Int (String :: es).

TestException.idr:8:48--8:57
   |
 8 | throwOne {es} = handle {err = String} {e = es} throwBoth (\r => pure 1) (\e => pure 3)
   |                                                ^^^^^^^^^
```
2021-07-06 10:43:54 +01:00
..
control_app001 More reliable exception handling in Control.App 2021-07-06 10:43:54 +01:00
data_bits001 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
system_file001 [ refactor ] Remove Data.Strings module (#1607) 2021-06-28 13:48:37 +01:00
system_info001 [ fix ] nproc missing for non-GNU systems 2021-05-26 09:05:13 +01:00
system_info_os001 Test for System.Info.os 2021-06-29 08:34:53 +01:00
system_signal001 Simple signal handling (#1458) 2021-05-25 16:45:46 +01:00
system_signal002 Simple signal handling (#1458) 2021-05-25 16:45:46 +01:00
system_signal003 Simple signal handling (#1458) 2021-05-25 16:45:46 +01:00
system_signal004 Simple signal handling (#1458) 2021-05-25 16:45:46 +01:00
system_system Test System.system 2021-07-06 09:34:47 +01:00