You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this requires an unsafe cast and thus depends on proper implementation and code generation to work without throwing runtime exceptions, we have to check whether it is possible to make the whole class generically types with the facade such that we achieve static type safeness.
Source:
Why can't we make a generic class to have this explicit?
The essential fix is quite easy (see #48), but it somehow breaks code generation from the Commonalities language. We have to figure out what the problems with the generator is (or remove the Commonalities language from active maintenance) before the fix in #48 can be applied.
Currently, an
AbstractRoutine
provides a subtype ofAbstractRoutinesFacade
via a method returning an according generically typed argument.Vitruv-DSLs/bundles/tools.vitruv.dsls.reactions.runtime/src/tools/vitruv/dsls/reactions/runtime/routines/AbstractRoutine.xtend
Lines 33 to 35 in 62e3827
Since this requires an unsafe cast and thus depends on proper implementation and code generation to work without throwing runtime exceptions, we have to check whether it is possible to make the whole class generically types with the facade such that we achieve static type safeness.
Source:
Originally posted by @JanWittler in #42 (comment)
The text was updated successfully, but these errors were encountered: