Closed joey-coleman closed 10 years ago
Can confirm.
owners (as a parameter of PreApproach) is a VarExp of type: map of nat1 to
but the parameter type declared in PreApproach is: map of OwnerID to OwnerLoc.
The TypeComparator.isSubType says that the argument is not a subtype of the declared type. I am not 100% certain that is correct. But if it is, then the typechecking of the VarExp needs to be fixed.
PO number 9 here for Approach(i:OwnerId) -- R8a frame wr owners pre PreApproach(owners, i) post owners = owners~ ++ {i |->}
stating:
is_(owners, map (OwnerId) to (OwnerLoc)) is not necessary. Again this is probably a TC issue