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

+ fails with single-letter-named aliases #1074

Closed
jaceklaskowski opened this issue Jan 11, 2014 · 1 comment

Comments

@jaceklaskowski
Copy link
Contributor

commented Jan 11, 2014

[sbt-0-13-1]> alias z = ; show scalaVersion ; help scalaVersion
[sbt-0-13-1]> z
[info] 2.10.4-RC1
The version of Scala used for building.
[sbt-0-13-1]> + z
[error] Expected any character
[error] + z
[error]    ^

Shouldn't at least alias command warn a user when a single-letter name is used to define an alias?

@jsuereth

This comment has been minimized.

Copy link
Member

commented Feb 11, 2014

looks like this may be a parser bug. Patch welcome.

@jsuereth jsuereth added the Bug label Feb 11, 2014
@jsuereth jsuereth added the Commuity label Aug 8, 2014
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Sep 14, 2018
Fixes sbt#1074
@eed3si9n eed3si9n self-assigned this Sep 14, 2018
@eed3si9n eed3si9n removed the in progress label Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.