Idris2/tests/idris2/perror007
G. Allais 21c6f4fb79
[ breaking ] remove parsing of dangling binders (#1711)
* [ breaking ] remove parsing of dangling binders

It used to be the case that

```
ID : Type -> Type
ID a = a

test : ID (a : Type) -> a -> a
test = \ a, x => x
```

and

```
head : List $ a -> Maybe a
head [] = Nothing
head (x :: _) = Just x
```

were accepted but these are now rejected because:

* `ID (a : Type) -> a -> a` is parsed as `(ID (a : Type)) -> a -> a`
* `List $ a -> Maybe a` is parsed as `List (a -> Maybe a)`

Similarly if you want to use a lambda / rewrite / let expression as
part of the last argument of an application, the use of `$` or parens
is now mandatory.

This should hopefully allow us to make progress on #1703
2021-08-10 19:24:32 +01:00
..
expected [ breaking ] remove parsing of dangling binders (#1711) 2021-08-10 19:24:32 +01:00
run Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
StrError1.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError2.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError3.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError4.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError5.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError6.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError7.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError8.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError9.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError10.idr Implement multiline string 2021-02-20 18:05:26 +08:00
StrError11.idr Allow hashtag escape for multi-line string 2021-02-21 03:11:01 +08:00
StrError12.idr Fix StrError12 test 2021-02-23 02:10:57 +08:00