We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53a344 commit 7ec55e4Copy full SHA for 7ec55e4
vlib/v/ast/ast.v
@@ -902,13 +902,14 @@ pub mut:
902
has_cross_var bool
903
}
904
905
+// `expr as Ident`
906
pub struct AsCast {
907
pub:
- expr Expr
908
- typ Type
+ expr Expr // from expr: `expr` in `expr as Ident`
909
+ typ Type // to type
910
pos token.Position
911
pub mut:
- expr_type Type
912
+ expr_type Type // from type
913
914
915
// an enum value, like OS.macos or .macos
0 commit comments