-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
bugSomething not working correctlySomething not working correctly
Description
It seems that Cryptol panics if a file includes a file that imports a module.
$ more modA.cry
module modA where
x = 1
$ more include.cry
import modA
y = 3
$ more main.cry
include "include.cry"
z = 3
$ cryptol main.cry
┏━╸┏━┓╻ ╻┏━┓╺┳╸┏━┓╻
┃ ┣┳┛┗┳┛┣━┛ ┃ ┃ ┃┃
┗━╸╹┗╸ ╹ ╹ ╹ ┗━┛┗━╸
version 2.12.0.99
https://cryptol.net :? for help
Loading module Cryptol
Loading module Main
cryptol: You have encountered a bug in Cryptol's implementation.
*** Please create an issue at https://github.com/GaloisInc/cryptol/issues
%< ---------------------------------------------------
Revision: UNKNOWN
Branch: UNKNOWN
Location: ModuleSystem
Message: Interface not available
modA
CallStack (from HasCallStack):
panic, called at src/Cryptol/Utils/Panic.hs:21:9 in cryptol-2.12.0.99-inplace:Cryptol.Utils.Panic
panic, called at src/Cryptol/ModuleSystem/Monad.hs:475:18 in cryptol-2.12.0.99-inplace:Cryptol.ModuleSystem.Monad
%< ---------------------------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething not working correctlySomething not working correctly