Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1e703fe

Browse files
PackratParsers#phrase: explicit return type
1 parent 92a338e commit 1e703fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎shared/src/main/scala/scala/util/parsing/combinator/PackratParsers.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ trait PackratParsers extends Parsers {
101101
* Overridden to make sure any input passed to the argument parser
102102
* is wrapped in a `PackratReader`.
103103
*/
104-
override def phrase[T](p: Parser[T]) = {
104+
override def phrase[T](p: Parser[T]):PackratParser[T] = {
105105
val q = super.phrase(p)
106106
new PackratParser[T] {
107107
def apply(in: Input) = in match {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /