Open zachwolfe opened 8 months ago
Consider the following structure Foo and its associated extend block:
Foo
extend
Foo<|T|> :: struct { foo: T } extend Foo<|i32|> { fn do_something() { } }
The following code currently compiles:
Foo<|f32|>.do_something()
An error should be reported here, because the declaration of do_something is conditional on T == i32.
do_something
T == i32
Consider the following structure
Foo
and its associatedextend
block:The following code currently compiles:
An error should be reported here, because the declaration of
do_something
is conditional onT == i32
.