If change the name of a layer in SymbolMaster using the apiļ¼ detach({recursively: true })
SymbolInstance ,the resulting layer will not use the latest layer name.
the same code was available before v89.
var sketch = require('sketch')
var Settings = require('sketch/settings')
var document = sketch.getSelectedDocument()
var ins = document.getLayersNamed('Ins')[0]
var BIns = document.getLayersNamed('BIns')[0]
BIns.name += "_test"
ins.detach({recursively: true })