1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 23:43:01 +03:00
juvix/tests
Paul Cadman f61e612c54
Fix dependencies suggestion in missing module error (#2024)
If an import statement to a missing module occurs when parsing in a
project with no dependencies the error message has the following form:

```
The module Foo does not exist.
It should be in /Users/paul/heliax/juvix-2023/tests/negative/NoDependencies/Foo.juvix
or in one of the dependencies:
```

This PR changes this error message to the `or in one of the
dependencies:` line is omitted from the error message when there are no
dependencies in the project.

This commit also adds a negative parse error test for missing module.
2023-04-22 18:15:38 +01:00
..
Asm New compilation pipeline (#1832) 2023-03-14 16:24:07 +01:00
benchmark Adapt benchmarks to the new pipeline (#1795) 2023-02-01 15:44:09 +01:00
Compilation Add: the 'seq' builtin (>>>) (#1982) 2023-04-14 19:24:58 +02:00
Core Add: the 'seq' builtin (>>>) (#1982) 2023-04-14 19:24:58 +02:00
examplesExpected Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Geb/positive Add FoldTypeSynonyms Transformation to Geb Pipeline and more Geb Tests (#1956) 2023-04-05 10:16:04 +02:00
Internal Add builtin integer type to the surface language (#1948) 2023-04-13 08:16:49 +01:00
negative Fix dependencies suggestion in missing module error (#2024) 2023-04-22 18:15:38 +01:00
positive Support positive arity typealias in arity checker (#2021) 2023-04-20 11:07:37 +01:00
runtime/positive Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
smoke/Commands Fix dependencies suggestion in missing module error (#2024) 2023-04-22 18:15:38 +01:00
.gitattributes Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00