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

Type-level hole misnamed in premise #195

Open
hubbards opened this issue Nov 27, 2017 · 1 comment
Open

Type-level hole misnamed in premise #195

hubbards opened this issue Nov 27, 2017 · 1 comment

Comments

@hubbards
Copy link

hubbards commented Nov 27, 2017

Consider the following (incomplete) function with holes in the type and definition:

myFun : ?ArgType -> String
myFun x = ?myFun_rhs

Inspecting the type of the hole myFun_rhs using interactive editing commands in Atom result in

  x : ?ArgType?ArgType
--------------------------------------
myFun_rhs : String

In the premise, the type of x is shown as ?ArgType?ArgType but it should be ?ArgType.

Inspecting the type of the hole myFun_rhs in the Idris (v1.1.1) REPL gives the correct results

  x : ?ArgType
--------------------------------------
myFun_rhs : String
@justjoheinz
Copy link
Contributor

Thanks for reporting this. I think this is most likely an error in the idris ide protocol. I will check with emacs if it exhibits the same behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants