Skip to content

Commit

Permalink
[Painless] Add boxed type to boxed type casts for method/return (#36571)
Browse files Browse the repository at this point in the history
This adds implicit boxed type to boxed types casts for non-def types to create asymmetric casting relative to the def type when calling methods or returning values. This means that a user calling a method taking an Integer can call it with a Byte, Short, etc. legally which matches the way def works. This creates consistency in the casting model that did not previously exist.
  • Loading branch information
jdconrad authored and davidkyle committed Dec 18, 2018
1 parent 86e6d18 commit 46f86b7
Show file tree
Hide file tree
Showing 4 changed files with 573 additions and 133 deletions.
Loading

0 comments on commit 46f86b7

Please sign in to comment.