Open
Description
Soss models have reference global scope, but we're having trouble getting them to resolve local scope. Here's an issue with some more details.
It seems like it could help to wrap a model in a static module, or maybe even have one internal to the Model struct. But this line of thinking makes me wonder if it might be possible to construct one automatically.
For example, is it possible to build a make_staticmodule
function that can be used like this:
function f(x)
make_staticmodule()
end
so that
f(3.0).x == 3.0
?
Metadata
Metadata
Assignees
Labels
No labels