Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 14, 2017

Two problems here, because of previous parsing errors

  • We encounter a TypeTree() without expected type
  • We encounter a ValDef as an argument of an AppliedTypeTree

odersky added 2 commits June 14, 2017 11:29
Two problems here, because of previous parsing errors

 - We encounter a TypeTree() without expected type
 - We encounter a ValDef as an argument of an AppliedTypeTree
@odersky
Copy link
Contributor Author

odersky commented Jun 14, 2017

In fact, the example looks sensible, so we should be able to parse it. That's for another PR though.

odersky added 2 commits June 14, 2017 13:09
That "varargs" syntax T* was classified as a term tree, but it should be a type tree.
Play with Result and Try types. Piggybacked here.
@odersky odersky requested a review from nicolasstucki June 14, 2017 11:30
@DarkDimius DarkDimius merged commit 8ddfcaf into scala:master Jun 14, 2017
@allanrenucci allanrenucci deleted the fix-#2514-2 branch December 14, 2017 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants