This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/scala/imports.scala
2021-03-01 11:39:20 +01:00

16 lines
505 B
Scala

import // This is incorrect Scala but can still be highlighted correctly
import a.{x => y} // Test comment
import a.{x => } // This is incorrect Scala but can still be highlighted correctly
import a.{x => `test-name`}
import a.given
import a.{given a}
import a.{x, y}
import a._
import a.x
import a.x.y.z
import java.io.{File, IOException, FileNotFoundException}
import java.io.File
import scala.math.{given Ordering[Int]}
import scala.math.{given Ordering[?]}
import a.givenSomething
import givenPackage