Skip to content

Filenames should be escaped in test reproduction instructions #2490

Closed
@smarter

Description

@smarter

When a test fail, the logfile may contain a message like:

the test can be reproduced by running:
./bin/dotc ...
compiler/../library/src/scala/compat/java8/JFunction0$mcB$sp.java

The filename contains a $ that needs to be escaped to be able to run the given command in a shell

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions