Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix sample method interpretation of completions argument

  • Loading branch information...
commit 41eb26ae1fd91ec21a8f0f2823e53b35e05b6e54 1 parent 04efcd1
Mark Harrah harrah authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  util/complete/Parser.scala
2  util/complete/Parser.scala
@@ -284,7 +284,7 @@ trait ParserMain
def sample(str: String, parser: Parser[_], completions: Boolean = false): Unit =
- if(completions) sampleParse(str, parser) else sampleCompletions(str, parser)
+ if(completions) sampleCompletions(str, parser) else sampleParse(str, parser)
def sampleParse(str: String, parser: Parser[_]): Unit =
parse(str, parser) match {
case Left(msg) => println(msg)
Please sign in to comment.
Something went wrong with that request. Please try again.