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
module Example
from "number" include Number
match (Number.parseInt("10", 10)) {
Err(hasNoTypeDefinition) => Err(""),
Ok(n) => Ok(n),
}
If you try to go to type definition on hasNoTypeDefinition, it fails. The type comes from the runtime/atoi/parse runtime module. The error occurs because the type is not in the environment, and goes away if the type is imported.
The text was updated successfully, but these errors were encountered:
Example program:
If you try to go to type definition on
hasNoTypeDefinition
, it fails. The type comes from theruntime/atoi/parse
runtime module. The error occurs because the type is not in the environment, and goes away if the type is imported.The text was updated successfully, but these errors were encountered: