Generate an error if a Fragment encloses any types
realityforge opened this issue · comments
A relatively obscure use-case that can cause problems when the enclosed type is not public and the fragment accesses members through synthetic accessor created by the compiler. Only observed in j2cl.
Best to just disallow this construct.