> Guess the compiler would have to throw an error when a subclass of > node uses a mixin which contains views. But then, I just realize that > the compiler doesn't warn if you add a view to a subclass of node when > not using a mixin. What should the compiler do in such a case? >
Yeah there ought to be a warning either at compile time if possible or at runtime if a view is a child of a non-view parent. Perhaps in debug mode we could have a runtime check. File an improvement request in Jira? -- Henry Minsky Software Architect [email protected]
