-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestfrontendThis is frontend relatedThis is frontend relatedlanguageLanguage changesLanguage changes
Description
I'm not sure how feasible it is, but it would be nice if one could specify models that are only available in the current model scope.
model A(): Ex = {
scoped model Expr(): Ex = { 2 }
$Expr()
}
constant X = $A()
$Expr() // error: Unknown Model `$Expr`
This would allow one to dynamically create a model within a model without causing name conflicts between them.
@flofriday How easy would it be to implement this?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfrontendThis is frontend relatedThis is frontend relatedlanguageLanguage changesLanguage changes