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

LLDB doesn't pass through language options to ide::isSourceInputComplete #9430

Open
hamishknight opened this issue Oct 16, 2024 · 0 comments · May be fixed by swiftlang/swift#77072
Open

LLDB doesn't pass through language options to ide::isSourceInputComplete #9430

hamishknight opened this issue Oct 16, 2024 · 0 comments · May be fixed by swiftlang/swift#77072
Assignees

Comments

@hamishknight
Copy link

When checking for the end of the line in the REPL, LLDB calls into the compiler's ide::isSourceInputComplete, but doesn't pass along any language options so the compiler doesn't know if e.g bare slash regex is enabled, resulting in the issue reported by https://forums.swift.org/t/regex-compiler-vs-repl/75393. We ought to add a language option parameter and pass along the language options for the REPL's SwiftASTContext.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant