Skip to content

Commit a3d86ee

Browse files
authored
Merge branch 'master' into vm-and-runtime-improvements
2 parents 2fb1f53 + bcb2d51 commit a3d86ee

File tree

18 files changed

+1360
-926
lines changed

18 files changed

+1360
-926
lines changed

ast/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (n *base) Type() reflect.Type {
6666

6767
// SetType sets the type of the node.
6868
func (n *base) SetType(t reflect.Type) {
69-
n.nature.Type = t
69+
n.nature = nature.FromType(t)
7070
}
7171

7272
// NilNode represents nil.

0 commit comments

Comments
 (0)