mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 06:13:26 +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.
32 lines
661 B
Plaintext
32 lines
661 B
Plaintext
1/1: Building Issue361 (Issue361.idr)
|
|
Error: main is not total, possibly not terminating due to call to Main./=
|
|
|
|
Issue361:7:1--7:13
|
|
3 | data S = T | F
|
|
4 |
|
|
5 | Eq S where
|
|
6 |
|
|
7 | main : IO ()
|
|
^^^^^^^^^^^^
|
|
|
|
Error: /= is not total, possibly not terminating due to recursive path Main.main -> Main.Eq implementation at Issue361:5:1--5:11 -> Main.== -> Main./= -> Main.==
|
|
|
|
Issue361:5:1--5:11
|
|
1 | %default total
|
|
2 |
|
|
3 | data S = T | F
|
|
4 |
|
|
5 | Eq S where
|
|
^^^^^^^^^^
|
|
|
|
Error: == is not total, possibly not terminating due to call to Main./=
|
|
|
|
Issue361:5:1--5:11
|
|
1 | %default total
|
|
2 |
|
|
3 | data S = T | F
|
|
4 |
|
|
5 | Eq S where
|
|
^^^^^^^^^^
|
|
|