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

Typechecking an external module yields no definition errors #748

Open
denismerigoux opened this issue Nov 12, 2024 · 0 comments
Open

Typechecking an external module yields no definition errors #748

denismerigoux opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
❌ bug Something isn't working 🔧 compiler Issue concerns the compiler

Comments

@denismerigoux
Copy link
Contributor

I got the following error message when performing catala typecheck on an external Catala module :

catala typecheck -I src src/periodes.catala_fr
┌─[ERROR]─
│
│  No definition found for intersection_périodes
│
├─➤ src/periodes.catala_fr:12.43-12.56:
│    │
│ 12 │ déclaration intersection_périodes contenu OptionPériode
│    │                                           ‾‾‾‾‾‾‾‾‾‾‾‾‾
└─

This error should not exist : since the module is external, is it normal not to have definitions inside it.

@denismerigoux denismerigoux added ❌ bug Something isn't working 🔧 compiler Issue concerns the compiler labels Nov 12, 2024
@denismerigoux denismerigoux changed the title Typechecking an external module yield no definition errors Typechecking an external module yields no definition errors Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❌ bug Something isn't working 🔧 compiler Issue concerns the compiler
Projects
Status: Todo
Development

No branches or pull requests

2 participants