提交 0c324a75 编写于 作者: L LouisFr81 提交者: Ty Overby

Grammar: "is bounds" changed to "is bound" (#17657)

上级 2bf4a205
......@@ -138,7 +138,7 @@ constant_pattern
### Var Pattern
An expression *e* matches the pattern `var identifier` always. In other words, a match to a *var pattern* always succeeds. At runtime the value of *e* is bounds to a newly introduced local variable. The type of the local variable is the static type of *e*.
An expression *e* matches the pattern `var identifier` always. In other words, a match to a *var pattern* always succeeds. At runtime the value of *e* is bound to a newly introduced local variable. The type of the local variable is the static type of *e*.
If the name `var` binds to a type, then we instead treat the pattern as a *type_pattern*.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册