Construction Type's Syntax
Posted: 20 Sep 2016 23:48
Hello Thomas and all,
this code throws a syntax error (in VIP 7502):
However when replacing myDomains::special by general{unsigned} it works fine.
Is there a reason, why myDomains::special cannot be in the place of a construction type? Or could the above syntax be allowed in future VIP versions?
Regards,
Martin
this code throws a syntax error (in VIP 7502):
Code: Select all
interface general{@Type}
domains
useType = @Type.
end interface general
interface myDomains
domains
special = general{unsigned}.
end interface myDomains
class specialClass : myDomains::special %the error is here
end class specialClass
implement specialClass
end implement specialClass
Is there a reason, why myDomains::special cannot be in the place of a construction type? Or could the above syntax be allowed in future VIP versions?
Regards,
Martin