mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 21:11:35 +03:00
3d275ea44c
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.
31 lines
930 B
Plaintext
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
|