Open kerimoyle opened 4 years ago
I think I can see what you are saying but it would be easier with a test :)
Gah, just tried it with two simple tests ... and no segfault ... I guess it's a trickier one ...
I love tests, I feel liked I have solved the segfault.
I'm not sure whether this is a "feature" or a "bug" ... but a call to flatten a model which contains encapsulated imports fails. If you flatten first, then import the child components, it's fine. Either way, a warning rather than a segfault would be good ...?
BUT