cryptol/tests/issues/issue058.icry.stdout
Adam C. Foltzer 3d275ea44c add load targets to search path
Fixes a bug pointed out by @weaversa:
https://github.com/GaloisInc/cryptol/issues/127#issuecomment-64464455

In addition to the other search path changes in #127, we now will add
the directory containing files to be loaded to the search path. This
applies to:

- files loaded with a command line argument, like in the original
  comment
- arguments to `:l`, so for example `:l examples/DES.cry` would work
- batch file arguments, so for example running `cryptol -b
  /some/path/bar.cry` adds `/some/path` to the search path.
2015-02-17 15:27:59 -08:00

31 lines
930 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module Main
[error] at ./issue058.cry:10:1--10:17:
Failed to validate user-specified signature.
In the definition of 'Main::pad', at ./issue058.cry:10:1--10:4:
for any type n
fin n
arising from
use of expression (#)
at ./issue058.cry:10:11--10:12
[error] at ./issue058.cry:7:1--7:17:
Failed to validate user-specified signature.
In the definition of 'Main::last', at ./issue058.cry:7:1--7:5:
for any type n, a
n >= 1
=>
fin n
arising from
use of expression (!)
at ./issue058.cry:7:14--7:15
[error] at ./issue058.cry:4:1--4:16:
Failed to validate user-specified signature.
In the definition of 'Main::some', at ./issue058.cry:4:1--4:5:
for any type n
fin n
arising from
use of literal or demoted expression
at ./issue058.cry:4:15--4:16