mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 00:31:57 +03:00
6298a6741d
- Added primitive to compiler parser for precise text boundaries - Reworked parser with the new primitive
48 lines
943 B
Plaintext
48 lines
943 B
Plaintext
1/1: Building Main (Main.idr)
|
|
Error: complex postfix projections require %language PostfixProjections
|
|
|
|
Main.idr:41:5--41:23
|
|
|
|
|
41 | + rect.(x . topLeft) -- disallowed without %language PostfixProjections
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
Error: postfix projection sections require %language PostfixProjections
|
|
|
|
Main.idr:44:9--44:24
|
|
|
|
|
44 | bad2 = (.oopFoldl 0 (+)) -- disallowed without %language PostfixProjections
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
Main> 4.2
|
|
Main> 4.2
|
|
Main> 10.8
|
|
Main> 4.2
|
|
Main> 4.2
|
|
Main> [1.1, 4.2]
|
|
Main> Error: When unifying (?a -> ?b) -> ?f ?a -> ?f ?b and Point.
|
|
Mismatch between: (?a -> ?b) -> ?f ?a -> ?f ?b and Point.
|
|
|
|
(interactive):1:1--1:4
|
|
|
|
|
1 | map .x [MkPoint 1 2, MkPoint 3 4]
|
|
| ^^^
|
|
|
|
Main> [2.5, 2.5]
|
|
Main> 8.1
|
|
Main> [8.1, 8.1]
|
|
Main> 6
|
|
Main> [6, 15]
|
|
Main> 7.4
|
|
Main> 7.4
|
|
Main> 7.4
|
|
Main> MkPoint 1.1 2.5
|
|
Main> 4.2
|
|
Main> 4.2
|
|
Main> 4.2
|
|
Main> 4.2
|
|
Main> 3.0
|
|
Main> 2.1
|
|
Main> 3.0
|
|
Main> 2.1
|
|
Main> Bye for now!
|