Skip to content

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

Open
blegat wants to merge 1 commit into
bl/juliac-trace-onlyfrom
bl/juliac-options
Open

blegat wants to merge 1 commit into
bl/juliac-trace-onlyfrom
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.

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.

This branch has not been deployed

No deployments
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