aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorJoseph Battelle <bttelle@iom.io>2020-09-16 12:32:57 -0700
committerJoseph Battelle <bttelle@iom.io>2020-09-16 12:32:57 -0700
commit3a3d415295f061a2ad530a76e0e3c100be4c026b (patch)
tree5fda7d1e8877d585e76baace945cd970be57a3f5 /src/types.cpp
parent33003d1bc162a3ba0bdb465db5da95a4bbb1fd62 (diff)
Fix issue #486
Use `check_is_assignable_to_using_subtype` in `is_polymorphic_type_assignable`. The polymorphic procedure in #486 can now also be written without the cast: ```odin print_entity :: proc(e : ^$E, p : proc(^$T) = print_base) { p(e); } ```
Diffstat (limited to 'src/types.cpp')
0 files changed, 0 insertions, 0 deletions