Allow using qualified symbols from the current module #1372
jonaprieto
started this conversation in
General
Replies: 2 comments
-
I don't think this qualifies as a bug. I would argue that this is the desirable behaviour |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's true. I thought I pressed the feature request button. The labels are part of the issue template. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the following program:
Inside the constructor
c
the first occurrence ofA
is a reference to the type parameter. To check out this, run the scoper:At the moment, there is no way to refer to
A@1
, i.e., the axiomA
. I'd expect to be able to write a program like the following.$ juvix microjuvix typecheck example.juvix /home/jonaprieto/example.juvix:5:5-14: error: Qualified symbol not in scope: example.A
Beta Was this translation helpful? Give feedback.
All reactions