mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-15 02:01:39 +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.
12 lines
285 B
Plaintext
12 lines
285 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module Main
|
|
[warning] at :1:1--5:76:
|
|
Defaulting type parameter 'bits'
|
|
of literal or demoted expression
|
|
at ./check14.cry:5:73--5:74
|
|
to 3
|
|
Assuming a = 3
|
|
[[0x3, 0x2, 0x1, 0x0], [0x7, 0x6, 0x5, 0x4]]
|
|
True
|