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
is some type that each of a(), b(), and c() either are or can implicitly convert to. Determining this type is called peer type resolution. That's already a solved problem.
The @typeOf() builtin function should take multiple parameters and do peer type resolution on them to expose this concept directly to users.
This is useful in this context:
fnmax(a: var, b: var) ->@typeOf(a, b) {
if (a>b) aelseb
}
The text was updated successfully, but these errors were encountered:
andrewrk
added
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
accepted
This proposal is planned.
and removed
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
labels
Oct 17, 2019
the type of:
is some type that each of
a()
,b()
, andc()
either are or can implicitly convert to. Determining this type is called peer type resolution. That's already a solved problem.The
@typeOf()
builtin function should take multiple parameters and do peer type resolution on them to expose this concept directly to users.This is useful in this context:
The text was updated successfully, but these errors were encountered: