This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/tests/analyzer/typeSection/main.arf

27 lines
420 B
Plaintext
Raw Normal View History

2022-09-18 03:29:11 +00:00
:arf
2022-10-13 06:26:05 +00:00
require './required'
2022-09-18 03:29:11 +00:00
---
2022-10-01 21:12:43 +00:00
type ro aBasicInt:Int 5
type ro bOnBasicInt:aBasicInt
type ro cBasicObject:Obj
2022-10-13 04:18:32 +00:00
ro that:UInt
2022-10-01 21:12:43 +00:00
ro this:Int
2022-10-13 06:26:05 +00:00
type ro dInheritFromOther:required.aBasic
2022-10-13 04:18:32 +00:00
type ro eInheritObject:cBasicObject
2022-10-13 06:20:47 +00:00
ro that 5
2022-10-13 06:26:05 +00:00
type ro fInheritObjectFromOther:required.bBird
2022-10-13 06:20:47 +00:00
ro wing 2
ro beak:Int 238
2022-10-16 06:53:37 +00:00
type ro gPointer:{Int}
type ro hDynamicArray:{Int ..}
2022-10-16 06:53:37 +00:00
# TODO: test a type that has a member pointing to itself