typing: move redef class check before inheritance
[nit.git] / tests / error_inh_loop.nit
index 510e4bd..0e778f9 100644 (file)
@@ -14,8 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-class Object
-end
+import kernel
 
 class A
        super B