Skip to content

REPL -e "import util._" deemed useful #7806

@scabug

Description

@scabug

From SO,
http://stackoverflow.com/a/18510229/1296806

Someone wanted to import packages on the command line. I said put it in a -i file. Hey, he didn't give me the green check! Anyway, I noticed this throws CNF: Main:

scala -e "import util._"

when it would actually be friendlier to handle the imports and drop into interactive mode.

It might be nice to have a way to do arbitrary -e exprs and drop into interactive mode. I guess we can't use -i for interactive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions