Having a different name makes it more obvious, and also leaves us open to add a string or bool field for more explicit typing.
16 lines
390 B
Plaintext
16 lines
390 B
Plaintext
value "hello1" {
|
|
#any => 42, # can be any type
|
|
any => "wow", # can be any type
|
|
}
|
|
value "hello2" {
|
|
any => "whatever", # TODO: remove the temporary placeholder here
|
|
#any => "", # XXX: remove any placeholder to see the bug when absent
|
|
}
|
|
|
|
test "test" {
|
|
#anotherstr => "", # get it from send/recv
|
|
}
|
|
|
|
Value["hello1"].any -> Value["hello2"].any
|
|
Value["hello2"].any -> Test["test"].anotherstr
|