]> ocean-lang.org Git - ocean/commitdiff
oceani: propagate_type should return the found type, not what it was compatible with
authorNeilBrown <neil@brown.name>
Fri, 17 Dec 2021 04:20:54 +0000 (15:20 +1100)
committerNeilBrown <neil@brown.name>
Fri, 17 Dec 2021 04:20:54 +0000 (15:20 +1100)
If the type we have is different from the type expected, but they are
compatible, propagate_type() should return the type that we have.
Otherwise we lose information - which may later be useful.

Signed-off-by: NeilBrown <neil@brown.name>

No differences found