# First some warm-up Examples. Version A (short and long version) is working
# Example-A: LONG Version
type
TestA = tuple
valueA: int
var myTestA: TestA = (
valueA: 1
)
# Example-A: SHORT Version
var myTestA = (
valueA: int(1)
)
#Example-B: LONG Version
type
TestBInner = tuple
valueA: int8
valueB: int64
type
TestBOuter = tuple
maxSamles: int
inner: TestBInner
var startUpSettings: TestBOuter = (
maxSamles: 210,
inner: (
valueA: 11,
valueB: 12
)
)
The last Example is NOT working.
What am I missing? Need help
The Error I got is:
got 'tuple[maxSamles: int, inner: tuple[valueA: int, valueB: int]]'
but expected 'TestBOuter = tuple[maxSamles: int, inner: TestBInner]'