Closed asedunov closed 1 year ago
Crystal generics can accept a limited ranged of expressions aside of types, namely:
sizeof
instance_sizeof
offsetof
These arguments must be properly rendered in Structure View. For example:
a : Foo(1, 2.5) b : Foo(sizeof(X), instance_sizeof(X)) c : Foo(offsetof(X, @z))
Crystal generics can accept a limited ranged of expressions aside of types, namely:
sizeof
,instance_sizeof
offsetof
These arguments must be properly rendered in Structure View. For example: