Fixed #67: instances that never get instantiated get their fields typed as...
Fixed #67: instances that never get instantiated get their fields typed as int8. Calls that are never instantiated raise "untyped exception", but that should never happen in safe code. On the other hand, breaking from a block unconditionally doesn't work right now (but that's not very useful).
Showing
- spec/compiler/codegen/block_spec.cr 2 additions, 2 deletionsspec/compiler/codegen/block_spec.cr
- spec/compiler/codegen/is_a_spec.cr 2 additions, 0 deletionsspec/compiler/codegen/is_a_spec.cr
- spec/std/hash_spec.cr 12 additions, 0 deletionsspec/std/hash_spec.cr
- src/compiler/crystal/codegen/llvm_typer.cr 8 additions, 1 deletionsrc/compiler/crystal/codegen/llvm_typer.cr
- src/compiler/crystal/type_inference/after_type_inference_transformer.cr 46 additions, 5 deletions...rystal/type_inference/after_type_inference_transformer.cr
- src/compiler/crystal/type_inference/call.cr 3 additions, 1 deletionsrc/compiler/crystal/type_inference/call.cr
Please register or sign in to comment