summaryrefslogtreecommitdiff
path: root/test/files/neg/t5666.check
blob: da6b9d73e780436204a0cc4850914e3bafc5b077 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
t5666.scala:2: error: class Any is abstract; cannot be instantiated
  new Any
      ^
t5666.scala:3: error: class AnyVal is abstract; cannot be instantiated
  new AnyVal
      ^
t5666.scala:4: error: class Double is abstract; cannot be instantiated
  new Double
      ^
t5666.scala:5: error: class Float is abstract; cannot be instantiated
  new Float
      ^
t5666.scala:6: error: class Long is abstract; cannot be instantiated
  new Long
      ^
t5666.scala:7: error: class Int is abstract; cannot be instantiated
  new Int
      ^
t5666.scala:8: error: class Char is abstract; cannot be instantiated
  new Char
      ^
t5666.scala:9: error: class Short is abstract; cannot be instantiated
  new Short
      ^
t5666.scala:10: error: class Byte is abstract; cannot be instantiated
  new Byte
      ^
t5666.scala:11: error: class Boolean is abstract; cannot be instantiated
  new Boolean
      ^
t5666.scala:12: error: class Unit is abstract; cannot be instantiated
  new Unit
      ^
t5666.scala:13: error: class Nothing is abstract; cannot be instantiated
  new Nothing
      ^
12 errors found