Skip to content

[FileFormats.MOF] assert the type of the options of MOF.Model - #3149

Merged
blegat merged 1 commit into
masterfrom
bl/juliac-options
Nov 17, 2026
Merged

blegat merged 1 commit into
masterfrom
bl/juliac-options

Conversation

@blegat

@blegat blegat commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

The options are stored in a Dict{Symbol,Any} so get_options is inferred to return Any and every access to an option is dynamically dispatched. Since write always calls get_options, it is always traced so this isn't needed with tracing but it's an easy fix that is important without tracing.

Base automatically changed from bl/juliac-trace-only to master November 16, 2026 18:03
The options are stored in a `Dict{Symbol,Any}` so `get_options` is inferred to
return `Any` and every access to an option is dynamically dispatched. Since
`write` always calls `get_options`, it is always traced so this isn't needed
with tracing but it's an easy fix.
@blegat
blegat merged commit 2b34a0d into master Nov 17, 2026
31 checks passed
@blegat
blegat deleted the bl/juliac-options branch November 17, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant