You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following function, which uses a bounded polymorphic type argument, results in invalid C:
fun arreq[t : Eq[t]](arr1 : [t], arr2 : [t]) : bool
repeat i <- |arr1| do
if arr1(i) != arr2(i) then
return false
end
end
true
end
active class Main
def main() : unit
()
end
end
The following function, which uses a bounded polymorphic type argument, results in invalid C:
The resulting error is (one warning removed):
The text was updated successfully, but these errors were encountered: