Code that compile and run in a small isolated project is showing compile errors in a larger project

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