Skip to content

Document interface upcasts and downcasts - #37

Open
codeshaunted wants to merge 1 commit into
mainfrom
docs/interface-as
Open

Document interface upcasts and downcasts#37
codeshaunted wants to merge 1 commit into
mainfrom
docs/interface-as

Conversation

@codeshaunted

Copy link
Copy Markdown
Contributor

Summary:

  • clarify that value.as projects upward to an interface
  • clarify that typed match patterns perform downcasts
  • add terse examples using the existing Animal types
  • bump the plugin patch version to 0.11.1

Validation:

  • native as-projection test passed
  • native interface match-narrowing test passed
  • native interface field-link projection test passed
  • integrated example passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant