tests: force Object on some tests.
authorJean Privat <jean@pryen.org>
Sat, 24 Nov 2012 03:32:31 +0000 (22:32 -0500)
committerJean Privat <jean@pryen.org>
Sat, 24 Nov 2012 03:32:31 +0000 (22:32 -0500)
What is the behavior on the absence of Object
is not something tested in those.

Signed-off-by: Jean Privat <jean@pryen.org>

tests/base_types_nullable.nit
tests/base_types_nullable_formal_and_virtual.nit

index 60bfe48..dd6e9c9 100644 (file)
@@ -11,9 +11,9 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-
 import end
-
+interface Object
+end
 class A
        var a: A = self
        var na: nullable A = self
index 97942ee..536ad2b 100644 (file)
@@ -11,9 +11,9 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-
 import end
-
+interface Object
+end
 class A
        type T: A
        var t: T = self