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

Add struct tracing #1045

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Add struct tracing #1045

merged 1 commit into from
Jan 25, 2024

Conversation

YingboMa
Copy link
Member

No description provided.

Co-authored-by: Fredrik Bagge Carlson <[email protected]>
@YingboMa YingboMa merged commit 7556297 into master Jan 25, 2024
7 of 17 checks passed
@YingboMa YingboMa deleted the myb/struct branch January 25, 2024 19:16
@test arguments(sa1) == Any[s, 1, UInt8(1)]
@test arguments(sa1) isa Any

sb1 = (setproperty!(s, :b, "hi"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this error? Or what's the purpose of assigning a string to the Int field here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type checking is compiler's responsibility. We don't need to check it on the frontend level.

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

Successfully merging this pull request may close these issues.

2 participants