summaryrefslogtreecommitdiff
path: root/test/files/neg/t9045.check
blob: 07d0e2dd7464309fce8363787f70d91935c5702d (plain) (blame)
1
2
3
4
5
6
7
t9045.scala:3: error: constructor invokes itself
  def this(axes: Array[Int]) = this(axes)
                               ^
t9045.scala:6: error: called constructor's definition must precede calling constructor's definition
  def this(d: Double) = this(d.toLong)
                        ^
two errors found