Enforce serializable types for inflight methods on preflight classes #6475
Labels
🛠️ compiler
Compiler
📐 language-design
Language architecture
needs-discussion
Further discussion is needed prior to impl
The motivation would be to add a constraint so that we can guarantee inflight methods on preflight classes can be safely called from other language runtimes.
We may also want to consider where we don't need to enforce this -- for example, perhaps private methods and fields can be allowed to use non-serializable types.
The text was updated successfully, but these errors were encountered: