This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
d24dce8eb3
v
/
vlib
/
v
/
checker
/
tests
/
sum_type_infix_err.vv
9 lines
103 B
V
Raw
Normal View
History
Unescape
Escape
all: refactor UnionSumType to SumType (#6944)
2020-11-25 12:09:40 +01:00
type
Abc
=
int
|
string
checker: fix sum type operator check (#6815)
2020-11-17 21:26:40 +01:00
fn
main
(
)
{
x
:=
Abc
(
0
)
_
:=
x
+
Abc
(
5
)
checker, cgen: fix `for in mut val` (#10444)
2021-06-15 03:43:10 +02:00
_
:=
123
+
x
checker: fix sum type operator check (#6815)
2020-11-17 21:26:40 +01:00
_
=
unsafe
{
&
x
+
5
}
checker, cgen: fix `for in mut val` (#10444)
2021-06-15 03:43:10 +02:00
}