Crashes the swift frontend due to ambiguity about which type "String" is referring to.
Changing the function to take an AK.String or a Swift.String resolves the error.
I could not reproduce this with an empty AK library that just has a definition for namespace AK { class String{}; }, so there's something else going on.
A swift file with the contents:
Crashes the swift frontend due to ambiguity about which type "String" is referring to.
Changing the function to take an
AK.String
or aSwift.String
resolves the error.I could not reproduce this with an empty AK library that just has a definition for
namespace AK { class String{}; }
, so there's something else going on.Needs a reduction and upstream swiftc bug report.
The crash looks like so: