Skip to content

Commit b1b4a8c

Browse files
committed
added generated Guid.toString
1 parent d0911f2 commit b1b4a8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cdb/Module.hx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,12 @@ class Module {
574574
})
575575
});
576576
}
577+
fields.push({
578+
name : "toString",
579+
pos : pos,
580+
access : [APublic, AInline],
581+
kind : FFun({ args : [], ret : null, expr : macro return Std.string(this) }),
582+
});
577583
types.push({
578584
pos : pos,
579585
name : tname+"Guid",

0 commit comments

Comments
 (0)