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
Port has an implicit conversion to Int and String. Other types sport similar convenience views. However this notion does not apply to other type with more structure such as IP4Address.
Replace existing implicit views that have value with explicit conversions.
Consider a common method on all types that converts to a String that matches to the same value.
valt=newOctetPair(x, y)
t.asXXX match {
caseOctetPair(x, y) => will match
}
Port has an implicit conversion to Int and String. Other types sport similar convenience views. However this notion does not apply to other type with more structure such as IP4Address.
Replace existing implicit views that have value with explicit conversions.
Consider a common method on all types that converts to a String that matches to the same value.
The text was updated successfully, but these errors were encountered: