Avatar
main だと SILGen で assert に引っかかりますね Assertion failed: (def->getFunction() == &F && "def of root local archetype is in wrong function"), function addTo, file SILInstructions.cpp, line 118.