Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird diagnostic from repl #6928

Open
dabrahams opened this issue May 27, 2023 · 0 comments
Open

Weird diagnostic from repl #6928

dabrahams opened this issue May 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dabrahams
Copy link
Collaborator

dave@DaveA-MBP14 ~ % swift repl
Welcome to Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100).
...
  5> import Foundationm
expression failed to parse:
error: error while processing module import: error: repl.swift:5:8: error: no such module 'Foundationm'
import Foundationm
       ^



fixed expression suggested:
  import Foundationm
  5> 
  1. "Failed to parse" is wrong. It's obviously legal syntax.
  2. It suggests a no-op fixit.
@dabrahams dabrahams added the bug Something isn't working label May 27, 2023
@compnerd compnerd transferred this issue from apple/swift May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant