lang: funcs: structs: Improve naming

These could print nicer for debugging.
This commit is contained in:
James Shubin
2024-12-08 16:24:42 -05:00
parent 5ff4f0456a
commit 28f5b8331a
34 changed files with 247 additions and 243 deletions

View File

@@ -59,6 +59,9 @@ type CompositeFunc struct {
// String returns a simple name for this function. This is needed so this struct // String returns a simple name for this function. This is needed so this struct
// can satisfy the pgraph.Vertex interface. // can satisfy the pgraph.Vertex interface.
func (obj *CompositeFunc) String() string { func (obj *CompositeFunc) String() string {
if obj.Type != nil {
return fmt.Sprintf("%s: %s", CompositeFuncName, obj.Type.String())
}
return CompositeFuncName return CompositeFuncName
} }

View File

@@ -56,9 +56,10 @@ func (obj *ConstFunc) String() string {
if obj.NameHint != "" { if obj.NameHint != "" {
return obj.NameHint return obj.NameHint
} }
if obj.Value != nil && obj.Value.Type() != nil {
return fmt.Sprintf("%s: %s(%s)", ConstFuncName, obj.Value.Type().String(), obj.Value.String())
}
return ConstFuncName return ConstFuncName
//return fmt.Sprintf("%s: %s(%s)", ConstFuncName, obj.Value.Type().String(), obj.Value.String())
//return fmt.Sprintf("%s(%s)", obj.Value.Type().String(), obj.Value.String())
} }
// Validate makes sure we've built our struct properly. // Validate makes sure we've built our struct properly.

View File

@@ -31,5 +31,5 @@ Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: bool(false)
Vertex: const Vertex: const: bool(true)

View File

@@ -8,19 +8,19 @@ class c1($b) {
-- OUTPUT -- -- OUTPUT --
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: call -> composite # 0 Edge: call -> composite: []str # 0
Edge: const -> composite # 0 Edge: const: int(-37) -> composite: []int # 3
Edge: const -> composite # 1 Edge: const: int(0) -> composite: []int # 2
Edge: const -> composite # 2 Edge: const: int(13) -> composite: []int # 0
Edge: const -> composite # 3 Edge: const: int(42) -> composite: []int # 1
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: composite Vertex: composite: []int
Vertex: composite Vertex: composite: []str
Vertex: const Vertex: const: int(-37)
Vertex: const Vertex: const: int(0)
Vertex: const Vertex: const: int(13)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("len is: %d")

View File

@@ -24,9 +24,9 @@ Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: call -> composite # 0 Edge: call -> composite: []str # 0
Edge: call -> composite # 0 Edge: call -> composite: []str # 0
Edge: call -> composite # 0 Edge: call -> composite: []str # 0
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
@@ -45,23 +45,23 @@ Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: composite Vertex: composite: []str
Vertex: composite Vertex: composite: []str
Vertex: composite Vertex: composite: []str
Vertex: const Vertex: const: int(1)
Vertex: const Vertex: const: int(13)
Vertex: const Vertex: const: int(2)
Vertex: const Vertex: const: int(3)
Vertex: const Vertex: const: int(4)
Vertex: const Vertex: const: int(4)
Vertex: const Vertex: const: int(4)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("test-%d-%d")
Vertex: const Vertex: const: str("test-%d-%d")
Vertex: const Vertex: const: str("test-%d-%d")

View File

@@ -8,6 +8,6 @@ class c1($a) {
} }
$foo = "hey" $foo = "hey"
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: str("hey")
Vertex: const Vertex: const: str("t1")
Vertex: const Vertex: const: str("t2")

View File

@@ -20,11 +20,11 @@ pkg "cowsay" {
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: const Vertex: const: str("/tmp/foo")
Vertex: const Vertex: const: str("/tmp/foo")
Vertex: const Vertex: const: str("cowsay")
Vertex: const Vertex: const: str("cowsay")
Vertex: const Vertex: const: str("hello world")
Vertex: const Vertex: const: str("hello world")
Vertex: const Vertex: const: str("installed")
Vertex: const Vertex: const: str("newest")

View File

@@ -15,5 +15,5 @@ Edge: FuncValue -> call # fn
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: str("a")
Vertex: const Vertex: const: str("b")

View File

@@ -4,4 +4,4 @@
# unification solving, but now we can support it without that. # unification solving, but now we can support it without that.
test [] {} test [] {}
-- OUTPUT -- -- OUTPUT --
Vertex: composite Vertex: composite: []str

View File

@@ -9,12 +9,12 @@ test $names {}
# multiples resources, defined by list # multiples resources, defined by list
test ["hello", "world",] {} test ["hello", "world",] {}
-- OUTPUT -- -- OUTPUT --
Edge: const -> composite # 0 Edge: const: str("hello") -> composite: []str # 0
Edge: const -> composite # 0 Edge: const: str("hey") -> composite: []str # 0
Edge: const -> composite # 1 Edge: const: str("world") -> composite: []str # 1
Vertex: composite Vertex: composite: []str
Vertex: composite Vertex: composite: []str
Vertex: const Vertex: const: str("hello")
Vertex: const Vertex: const: str("hey")
Vertex: const Vertex: const: str("name")
Vertex: const Vertex: const: str("world")

View File

@@ -8,6 +8,6 @@ test "t" {
stringptr => $x, stringptr => $x,
} }
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: str("hello")
Vertex: const Vertex: const: str("t")

View File

@@ -9,6 +9,6 @@ if true {
} }
} }
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: str("t")
Vertex: const Vertex: const: str("world")

View File

@@ -12,8 +12,8 @@ test "t1" {
stringptr => $x, stringptr => $x,
} }
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: str("hello")
Vertex: const Vertex: const: str("t1")
Vertex: const Vertex: const: str("t2")
Vertex: const Vertex: const: str("world")

View File

@@ -8,7 +8,7 @@ pkg "cowsay" {
state => "newest", state => "newest",
} }
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: str("cowsay")
Vertex: const Vertex: const: str("cowsay")
Vertex: const Vertex: const: str("installed")
Vertex: const Vertex: const: str("newest")

View File

@@ -7,5 +7,5 @@ $c = $b
$b = $a $b = $a
$a = 42 $a = 42
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("t")

View File

@@ -4,4 +4,4 @@ if $b {
} }
$b = true $b = true
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: bool(true)

View File

@@ -7,7 +7,7 @@ test "t" {
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: const Vertex: const: int(13)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("t")

View File

@@ -10,9 +10,9 @@ Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: int(13)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: int(99)
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("-")
Vertex: const Vertex: const: str("t")

View File

@@ -11,8 +11,8 @@ $i = 13
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: int(13)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("t")

View File

@@ -10,6 +10,6 @@ test "greeting" {
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: const Vertex: const: str("greeting")
Vertex: const Vertex: const: str("hello: %s")
Vertex: const Vertex: const: str("world")

View File

@@ -18,11 +18,11 @@ class xclass {
-- OUTPUT -- -- OUTPUT --
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: call -> if # c Edge: call -> if # c
Edge: const -> if # a Edge: const: str("bbb") -> if # a
Edge: const -> if # b Edge: const: str("ccc") -> if # b
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: const Vertex: const: str("bbb")
Vertex: const Vertex: const: str("ccc")
Vertex: const Vertex: const: str("hello")
Vertex: if Vertex: if

View File

@@ -17,11 +17,11 @@ class xclass {
-- OUTPUT -- -- OUTPUT --
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: call -> if # c Edge: call -> if # c
Edge: const -> if # a Edge: const: str("bbb") -> if # a
Edge: const -> if # b Edge: const: str("ccc") -> if # b
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: const Vertex: const: str("bbb")
Vertex: const Vertex: const: str("ccc")
Vertex: const Vertex: const: str("hello")
Vertex: if Vertex: if

View File

@@ -17,4 +17,4 @@ Edge: FuncValue -> call # fn
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: str("world")

View File

@@ -83,21 +83,21 @@ Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: int(3)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("hello")
Vertex: const Vertex: const: str("hello2")
Vertex: const Vertex: const: str("hello3")
Vertex: const Vertex: const: str("i am github.com/purpleidea/mgmt-example1/ and i contain: ")
Vertex: const Vertex: const: str("i am github.com/purpleidea/mgmt-example1/ and i contain: ")
Vertex: const Vertex: const: str("i imported local: %s")
Vertex: const Vertex: const: str("i imported remote: %s and %s")
Vertex: const Vertex: const: str("the answer is: %d")
Vertex: const Vertex: const: str("this is module mod1 which contains: ")
Vertex: const Vertex: const: str("this is the nested git module mod1")
Vertex: const Vertex: const: str("this is the nested git module mod1")
Vertex: const Vertex: const: str("this is the nested local module mod1")

View File

@@ -14,10 +14,10 @@ Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: const -> composite # 0 Edge: const: int(-37) -> composite: []int # 3
Edge: const -> composite # 1 Edge: const: int(0) -> composite: []int # 2
Edge: const -> composite # 2 Edge: const: int(13) -> composite: []int # 0
Edge: const -> composite # 3 Edge: const: int(42) -> composite: []int # 1
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
@@ -26,13 +26,13 @@ Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: composite Vertex: composite: []int
Vertex: const Vertex: const: int(-37)
Vertex: const Vertex: const: int(0)
Vertex: const Vertex: const: int(13)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("hello")
Vertex: const Vertex: const: str("len is: %d")
Vertex: const Vertex: const: str("len is: %d")
Vertex: const Vertex: const: str("t1")
Vertex: const Vertex: const: str("t2")

View File

@@ -81,21 +81,21 @@ Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: int(3)
Vertex: const Vertex: const: int(42)
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("+")
Vertex: const Vertex: const: str("hello")
Vertex: const Vertex: const: str("hello2")
Vertex: const Vertex: const: str("hello3")
Vertex: const Vertex: const: str("i am github.com/purpleidea/mgmt-example1/ and i contain: ")
Vertex: const Vertex: const: str("i am github.com/purpleidea/mgmt-example1/ and i contain: ")
Vertex: const Vertex: const: str("i imported local: %s")
Vertex: const Vertex: const: str("i imported remote: %s and %s")
Vertex: const Vertex: const: str("the answer is: %d")
Vertex: const Vertex: const: str("this is module mod1 which contains: ")
Vertex: const Vertex: const: str("this is the nested git module mod1")
Vertex: const Vertex: const: str("this is the nested git module mod1")
Vertex: const Vertex: const: str("this is the nested local module mod1")

View File

@@ -25,41 +25,41 @@ test "test" {
#}, #},
} }
-- OUTPUT -- -- OUTPUT --
Edge: composite -> composite # sema Edge: composite: []str -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # sema
Edge: const -> composite # 0 Edge: const: bool(false) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # dollar
Edge: const -> composite # 1 Edge: const: bool(false) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # noop
Edge: const -> composite # autoedge Edge: const: bool(false) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # reset
Edge: const -> composite # autogroup Edge: const: bool(false) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # retryreset
Edge: const -> composite # burst Edge: const: bool(false) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # rewatch
Edge: const -> composite # delay Edge: const: bool(true) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # autoedge
Edge: const -> composite # dollar Edge: const: bool(true) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # autogroup
Edge: const -> composite # limit Edge: const: bool(true) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # realize
Edge: const -> composite # noop Edge: const: bool(true) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # reverse
Edge: const -> composite # poll Edge: const: float(4.2) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # limit
Edge: const -> composite # realize Edge: const: int(-1) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # retry
Edge: const -> composite # reset Edge: const: int(0) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # delay
Edge: const -> composite # retry Edge: const: int(3) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # burst
Edge: const -> composite # retryreset Edge: const: int(5) -> composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool} # poll
Edge: const -> composite # reverse Edge: const: str("bar:3") -> composite: []str # 1
Edge: const -> composite # rewatch Edge: const: str("foo:1") -> composite: []str # 0
Vertex: composite Vertex: composite: []str
Vertex: composite Vertex: composite: struct{noop bool; retry int; retryreset bool; delay int; poll int; limit float; burst int; reset bool; sema []str; rewatch bool; realize bool; dollar bool; reverse bool; autoedge bool; autogroup bool}
Vertex: const Vertex: const: bool(false)
Vertex: const Vertex: const: bool(false)
Vertex: const Vertex: const: bool(false)
Vertex: const Vertex: const: bool(false)
Vertex: const Vertex: const: bool(false)
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: float(4.2)
Vertex: const Vertex: const: int(-1)
Vertex: const Vertex: const: int(0)
Vertex: const Vertex: const: int(3)
Vertex: const Vertex: const: int(5)
Vertex: const Vertex: const: str("bar:3")
Vertex: const Vertex: const: str("foo:1")
Vertex: const Vertex: const: str("test")
Vertex: const Vertex: const: str("test")

View File

@@ -6,5 +6,5 @@ if true {
} }
test "${x}" {} test "${x}" {}
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: str("hello")

View File

@@ -6,5 +6,5 @@ if true {
test "${x}" {} test "${x}" {}
} }
-- OUTPUT -- -- OUTPUT --
Vertex: const Vertex: const: bool(true)
Vertex: const Vertex: const: str("world")

View File

@@ -11,12 +11,12 @@ test [$out1 + $out2,] {}
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: call -> composite # 0 Edge: call -> composite: []str # 0
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: composite Vertex: composite: []str
Vertex: const Vertex: const: str("+")

View File

@@ -14,11 +14,11 @@ test [$out1 + $out2,] {}
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: FuncValue -> call # fn Edge: FuncValue -> call # fn
Edge: call -> composite # 0 Edge: call -> composite: []str # 0
Vertex: FuncValue Vertex: FuncValue
Vertex: FuncValue Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: composite Vertex: composite: []str
Vertex: const Vertex: const: str("+")

View File

@@ -73,33 +73,33 @@ Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: str("")
Vertex: const Vertex: const: str("/tmp/mgmt/state")
Vertex: const Vertex: const: str("/tmp/mgmt/state")
Vertex: const Vertex: const: str("/tmp/mgmt/state")
Vertex: const Vertex: const: str("/usr/bin/sleep 1s")
Vertex: const Vertex: const: str("/usr/bin/sleep 1s")
Vertex: const Vertex: const: str("/usr/bin/sleep 1s")
Vertex: const Vertex: const: str("==")
Vertex: const Vertex: const: str("==")
Vertex: const Vertex: const: str("==")
Vertex: const Vertex: const: str("==")
Vertex: const Vertex: const: str("default")
Vertex: const Vertex: const: str("default")
Vertex: const Vertex: const: str("estate")
Vertex: const Vertex: const: str("one")
Vertex: const Vertex: const: str("one")
Vertex: const Vertex: const: str("or")
Vertex: const Vertex: const: str("state: one\n")
Vertex: const Vertex: const: str("state: three\n")
Vertex: const Vertex: const: str("state: two\n")
Vertex: const Vertex: const: str("three")
Vertex: const Vertex: const: str("three")
Vertex: const Vertex: const: str("timer")
Vertex: const Vertex: const: str("timer")
Vertex: const Vertex: const: str("timer")
Vertex: const Vertex: const: str("timer")
Vertex: const Vertex: const: str("timer")
Vertex: const Vertex: const: str("timer")
Vertex: const Vertex: const: str("two")
Vertex: const Vertex: const: str("two")

View File

@@ -23,6 +23,6 @@ Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: str("greeting1")
Vertex: const Vertex: const: str("greeting2")
Vertex: const Vertex: const: str("greeting3")

View File

@@ -25,6 +25,6 @@ Vertex: FuncValue
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: call Vertex: call
Vertex: const Vertex: const: str("greeting1")
Vertex: const Vertex: const: str("greeting2")
Vertex: const Vertex: const: str("greeting3")