Fixed: moved the "can't cast to T because it was never instantiated" error...
Fixed: moved the "can't cast to T because it was never instantiated" error from compile-time to runtime
Showing
- spec/compiler/codegen/cast_spec.cr 23 additions, 0 deletionsspec/compiler/codegen/cast_spec.cr
- spec/compiler/type_inference/cast_spec.cr 0 additions, 17 deletionsspec/compiler/type_inference/cast_spec.cr
- src/compiler/crystal/semantic/after_type_inference_transformer.cr 6 additions, 2 deletions...iler/crystal/semantic/after_type_inference_transformer.cr
Please register or sign in to comment