Skip to content

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

@hamishknight

Description

@hamishknight

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions