summaryrefslogtreecommitdiff
path: root/test/files/run/t1987b/cce_test.scala
blob: e131df7956177e3770dc4f13bc5b92607eedb21c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package scales.xml
//import scales.xml._ // using another package and importing doesn't CCE

object CCE_Test {
  def main(args: Array[String]): Unit = {
    // without the import it doesn't trigger the CCE
    import scaley.funny._

    val pull = null.asInstanceOf[Iterator[PullType]]
    val LogEntries = null.asInstanceOf[List[QName]]
    // fully qualify with scales.xml. and it won't trigger it
    iterate(LogEntries,
      pull)
  }
}