mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 09:49:24 +03:00
7aee7c9b7c
Why: * To implement robust cross-project go-to-definition in LSP i.e you can jump to definition of any global name coming from library dependencies, as well as from the local project files. What it does: * Modify `FC`s to carry `ModuleIdent` for .idr sources, file name for .ipkg sources or nothing for interactive runs. * Add `--install-with-src` to install the source code alongside the ttc binaries. The source is installed into the same directory as the corresponding ttc file. Installed sources are made read-only. * As we install the sources pinned to the related ttc files we gain the versioning of sources for free.
25 lines
482 B
Plaintext
25 lines
482 B
Plaintext
1/1: Building Issue637 (Issue637.idr)
|
|
Main> 11
|
|
Main>
|
|
Bye for now!
|
|
1/1: Building Issue637-2 (Issue637-2.idr)
|
|
Error: Expected an indented non-empty block.
|
|
|
|
Issue637-2:5:3--5:4
|
|
1 | namespace A
|
|
2 | export
|
|
3 | foo3 : Int -> Int
|
|
4 | foo3 x with (x + 1)
|
|
5 | foo3 x | y = y + x
|
|
^
|
|
|
|
1/1: Building Issue637-3 (Issue637-3.idr)
|
|
Error: Expected an indented non-empty block.
|
|
|
|
Issue637-3:3:1--3:2
|
|
1 | foo5 : Int -> Int
|
|
2 | foo5 x with (x + 1)
|
|
3 | foo5 x | y = y + x
|
|
^
|
|
|