Skip to content

Commit

Permalink
scala213source3 scala parser
Browse files Browse the repository at this point in the history
  • Loading branch information
somdoron committed May 23, 2022
1 parent ff2231b commit 8569427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ object ScalaParser {
val path = java.nio.file.Paths.get(pathStr)
val bytes = java.nio.file.Files.readAllBytes(path)
val text = new String(bytes, "UTF-8")
val input = Input.VirtualFile(path.toString, text)
val input = dialects.Scala213Source3(Input.VirtualFile(path.toString, text))

val tree = input.parse[Source].get

Expand Down

0 comments on commit 8569427

Please sign in to comment.