summaryrefslogtreecommitdiff
path: root/test/files/neg/t6040.check
blob: 350f796d1830d03ba49fd7678d1f704fd44a2bf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
t6040.scala:1: error: extension of type scala.Dynamic needs to be enabled
by making the implicit value scala.language.dynamics visible.
This can be achieved by adding the import clause 'import scala.language.dynamics'
or by setting the compiler option -language:dynamics.
See the Scaladoc for value scala.language.dynamics for a discussion
why the feature needs to be explicitly enabled.
class X extends Dynamic
                ^
one error found