diff options
author | Paul Phillips <paulp@improving.org> | 2011-06-14 22:48:22 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-06-14 22:48:22 +0000 |
commit | ebfbe58d36e1a6f10c6780267950b7353c9502cc (patch) | |
tree | 1724966457115ecd508bdeafbb1eb18f93fdccad /test/files | |
parent | e4f800b20550b62d5186130c6f06281f3df3ed90 (diff) | |
download | scala-ebfbe58d36e1a6f10c6780267950b7353c9502cc.tar.gz scala-ebfbe58d36e1a6f10c6780267950b7353c9502cc.tar.bz2 scala-ebfbe58d36e1a6f10c6780267950b7353c9502cc.zip |
Update manually created tree which was calling ...
Update manually created tree which was calling Predef.error to call
scala.sys.error instead. Created convenience functions in Definitions
for getting package objects akin to those for getting classes and
objects. No review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/native-warning.flags | 1 | ||||
-rw-r--r-- | test/files/pos/native-warning.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/native-warning.flags b/test/files/pos/native-warning.flags new file mode 100644 index 0000000000..65faf53579 --- /dev/null +++ b/test/files/pos/native-warning.flags @@ -0,0 +1 @@ +-Xfatal-warnings -deprecation
\ No newline at end of file diff --git a/test/files/pos/native-warning.scala b/test/files/pos/native-warning.scala new file mode 100644 index 0000000000..f721a57e8f --- /dev/null +++ b/test/files/pos/native-warning.scala @@ -0,0 +1,3 @@ +class A { + @native def setup(): Unit +} |