Fix example-
This commit is contained in:
parent
78158dbae8
commit
d72ffacf9e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ assert(taggedFoo.isFoo);
|
|||
assert(taggedAny.isFoo);
|
||||
|
||||
// Set to a different type
|
||||
taggedAny.strValue("bar");
|
||||
taggedAny.setStr("bar");
|
||||
assert(taggedAny.isStr);
|
||||
assert(taggedAny.strValue == "bar");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue