Are you sure there's nowhere in your module where you have defined your own Character
type (or are importing a Character
from another module)? I can reproduce your error messages under this circumstance. Try changing Character
to Swift.Character
to see if that helps.
1 Like