Skip to content

Allow underscore for variable name in interpolated string in pattern #7715

@scabug

Description

@scabug

Allow patterns like s"$\_" and s"${_}".

It would be nice if this worked:

val q"$foo(..$_)" = x

How many distinct uses of underscore does this make?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions