rm commented code

This commit is contained in:
Alexander Wang 2023-07-13 15:13:24 -07:00
parent d275a45033
commit da0d24555d
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -278,11 +278,6 @@ func (c *compiler) compileField(obj *d2graph.Object, f *d2ir.Field) {
}
return
} else if f.Name == "vars" {
// if f.Map() != nil {
// if len(f.Map().Edges) > 0 {
// c.errorf(f.Map().Edges[0].LastRef().AST(), "vars cannot contain an edge")
// }
// }
return
} else if isReserved {
c.compileReserved(&obj.Attributes, f)