-
Notifications
You must be signed in to change notification settings - Fork 97
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
It doesn't understand that the type in canister is the same #4625
Comments
|
I can reproduce the error. If I have module {
public type X = Int;
} in |
Please see the comments in the above repro. The gist of the problem is that you define a |
I don't remember the exact location of the problem where I met it. So, I can't answer your question. Right now the repository from which, if I remember correctly, I got the bug compiles well. But that may be another repository. Sorry. |
The bug is triggered by https://github.com/vporton/bug-canister-type (84b7e50):
f
has the same type in both and should compile without an error.For completeness, here is the code:
lib.mo
:call.mo
:main.mo
:dfx.json
:The text was updated successfully, but these errors were encountered: