Error when something inherits a non-existent type
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
:arf
|
||||
require './something'
|
||||
---
|
||||
|
||||
type ro aBasicInt:Int 5
|
||||
@@ -8,3 +9,5 @@ type ro bOnBasicInt:aBasicInt
|
||||
type ro cBasicObject:Obj
|
||||
ro that:Int
|
||||
ro this:Int
|
||||
|
||||
type ro dInheritedFromOther:something.Thing
|
||||
|
||||
3
tests/analyzer/typeSection/something/main.arf
Normal file
3
tests/analyzer/typeSection/something/main.arf
Normal file
@@ -0,0 +1,3 @@
|
||||
:arf
|
||||
---
|
||||
type ro Thing:Int
|
||||
Reference in New Issue
Block a user