Skip to content

Commit

Permalink
Make lack of -Ytasty-reader an error
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Oct 29, 2020
1 parent eb526b8 commit 8e65c3b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1117,7 +1117,7 @@ abstract class ClassfileParser(reader: ReusableInstance[ReusableDataReader]) {
isScalaRaw = true
i = numAttrs
case tpnme.TASTYATTR if !YtastyReader =>
reporter.warning(NoPosition, s"Add -Ytasty-reader to scalac options to parse the TASTy in $file")
MissingRequirementError.signal(s"Add -Ytasty-reader to scalac options to parse the TASTy in $file")
case tpnme.TASTYATTR =>
isTASTY = true
TASTYAttrLen = attrLen
Expand Down

0 comments on commit 8e65c3b

Please sign in to comment.