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

Error in assignement type checking for structs #413

Open
mkarten opened this issue Jul 2, 2024 · 0 comments
Open

Error in assignement type checking for structs #413

mkarten opened this issue Jul 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working interpreter issue concerning the interpreter part under investigation the problem is currently under investigation

Comments

@mkarten
Copy link
Member

mkarten commented Jul 2, 2024

When there is a variable assignement between a struct and a struct, we only test for the same type name and not type similarity between fields name, fields type and field order.

We need to sanity check those assignments since structs can be returned from go libraries and not be compatible with the type we want

@mkarten mkarten added the bug Something isn't working label Jul 2, 2024
@mkarten mkarten added this to Ecla Jul 2, 2024
@github-project-automation github-project-automation bot moved this to Todo in Ecla Jul 2, 2024
@mkarten mkarten added interpreter issue concerning the interpreter part under investigation the problem is currently under investigation labels Jul 2, 2024
@Sanegv Sanegv moved this from Todo to Interpreter In Progress in Ecla Sep 29, 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 interpreter issue concerning the interpreter part under investigation the problem is currently under investigation
Projects
Status: Interpreter In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants