Skip to content

Conversation

TheElectronWill
Copy link
Contributor

Before: incorrect line number and unclear error message
Example (from #7326):

-- Error: doc/UserGuide.md:1:6 -------------------------------------------------
1 |## ScalaCheck User Guide
  |      ^
  |      unexpected token 'token  57', expected: 'token  77'

After: token ids translated to name or symbol+name, and fixed line number

-- Error: docs/UserGuide.md:907:6 ----------------------------------------------
907 |   *  def canCreateNewSut(newState: State, initSuts: Traversable[State]
    |      ^
    |      unexpected Id, expected '}}' (OutEnd)

problem spotted thanks to issue scala#7326
@smarter
Copy link
Member

smarter commented Oct 2, 2019

Thanks!

@smarter smarter merged commit d458ab4 into scala:master Oct 2, 2019
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.

2 participants