scala.meta.parsers.ParseException: <input>:1: error: end of file expected but . found val a: 42.type = 42 ^

GitHub | xavier-fernandez | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 620#277510385

    GitHub | 3 months ago | xavier-fernandez
    scala.meta.parsers.ParseException: <input>:1: error: end of file expected but . found val a: 42.type = 42 ^
  2. 0

    GitHub comment 492#251996760

    GitHub | 7 months ago | TimothyKlim
    java.lang.NoClassDefFoundError: scala/reflect/api/Symbols$SymbolApi
  3. 0

    q"(i: Int) => 42" doesn't work

    GitHub | 2 years ago | xeno-by
    scala.meta.ParseException: ; expected but right arrow found at 9..11
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception on calling .parse[Source]

    GitHub | 10 months ago | johannegger
    org.scalameta.invariants.InvariantFailedException: invariant failed: when verifying ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)).==('\"') found that ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)) is not equal to '\"' where ScalametaTokenizer = scala.meta.internal.tokenizers.ScalametaTokenizer@334ebcaa
  6. 0

    scalafmt fails when using html

    GitHub | 6 months ago | visox
    java.lang.IncompatibleClassChangeError: Found class fastparse.core.Parser, but interface was expected

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. scala.meta.parsers.ParseException

      <input>:1: error: end of file expected but . found val a: 42.type = 42 ^

      at scala.meta.internal.parsers.Reporter$class.syntaxError()
    2. scala.meta.internal
      ScalametaParser.parseRule
      1. scala.meta.internal.parsers.Reporter$class.syntaxError(Reporter.scala:17)
      2. scala.meta.internal.parsers.Reporter$$anon$1.syntaxError(Reporter.scala:23)
      3. scala.meta.internal.parsers.Reporter$class.syntaxError(Reporter.scala:18)
      4. scala.meta.internal.parsers.Reporter$$anon$1.syntaxError(Reporter.scala:23)
      5. scala.meta.internal.parsers.ScalametaParser.syntaxErrorExpected(ScalametaParser.scala:419)
      6. scala.meta.internal.parsers.ScalametaParser.accept(ScalametaParser.scala:425)
      7. scala.meta.internal.parsers.ScalametaParser$$anonfun$parseStat$1.skipStatementSeparators$1(ScalametaParser.scala:71)
      8. scala.meta.internal.parsers.ScalametaParser$$anonfun$parseStat$1.apply(ScalametaParser.scala:77)
      9. scala.meta.internal.parsers.ScalametaParser$$anonfun$parseStat$1.apply(ScalametaParser.scala:68)
      10. scala.meta.internal.parsers.ScalametaParser.parseRule(ScalametaParser.scala:46)
      10 frames