mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 13:01:31 +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.
13 lines
326 B
Plaintext
13 lines
326 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module comp02
|
|
|
|
[error]
|
|
Overlapping symbols defined:
|
|
(at ./comp02.cry:4:12--4:13, a)
|
|
(at ./comp02.cry:5:12--5:13, a)
|
|
[error] at ./comp02.cry:4:8--4:9
|
|
Multiple definitions for symbol: a
|
|
(at ./comp02.cry:4:12--4:13, a)
|
|
(at ./comp02.cry:5:12--5:13, a)
|