From a7623cb489e34c37fee86412a7bc5b93c32c8369 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Wed, 13 Jan 2016 12:07:24 -0800 Subject: SI-9622 Native method may be private This was lost in a refactor. https://github.com/scala/scala/commit/290f687fb6ab91b6aef62d871036ddc3829f12b4 --- test/files/pos/native-warning.scala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/files/pos/native-warning.scala b/test/files/pos/native-warning.scala index f721a57e8f..a2918c11b5 100644 --- a/test/files/pos/native-warning.scala +++ b/test/files/pos/native-warning.scala @@ -1,3 +1,7 @@ class A { @native def setup(): Unit + + // also kosher + @native private def f(): Unit + @native final def g(): Unit } -- cgit v1.2.3