foolang icon indicating copy to clipboard operation
foolang copied to clipboard

forward type propagation on AST

Open nikodemus opened this issue 2 years ago • 0 comments

  1. Declared variable types to uses.
  2. Method sends to known types to types of arguments after the send, and the return.
  3. Compile-time warning when sending an unknown message to a known type.

Explicit representation of typechecks in AST, allowing early deletion of those not needed.

nikodemus avatar Jul 29 '21 15:07 nikodemus