Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Parameterized Modules] Crash when attempting to backtick-import non-parameterized module #565

Closed
WeeknightMVP opened this issue Jan 24, 2019 · 0 comments

Comments

@WeeknightMVP
Copy link

// T.cry
module T where
  x = True
// I.cry
module I where
  import `T
> cryptol I.cry
┏━╸┏━┓╻ ╻┏━┓╺┳╸┏━┓╻  
┃  ┣┳┛┗┳┛┣━┛ ┃ ┃ ┃┃  
┗━╸╹┗╸ ╹ ╹   ╹ ┗━┛┗━╸
version 2.6.1 (f96e1e4)

Loading module Cryptol
Loading module T
Loading module T'
cryptol: You have encountered a bug in Cryptol's implementation.
*** Please create an issue at https://github.com/GaloisInc/cryptol/issues

%< --------------------------------------------------- 
  Revision:  f96e1e49fb45c752a3f06a93654856457c84fbe0
  Branch:    HEAD
  Location:  ModuleSystem
  Message:   Interface not available
             `T
CallStack (from HasCallStack):
  panic, called at src/Cryptol/Utils/Panic.hs:21:9 in cryptol-2.6.1-ElRFujg5t5fJcZFYCvRhxI:Cryptol.Utils.Panic
  panic, called at src/Cryptol/ModuleSystem/Monad.hs:409:16 in cryptol-2.6.1-ElRFujg5t5fJcZFYCvRhxI:Cryptol.ModuleSystem.Monad
%< --------------------------------------------------- 


@yav yav closed this as completed in 4312787 Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant