matthewmueller / joy

A delightful Go to Javascript compiler (ON HOLD)
https://mat.tm/joy
GNU General Public License v3.0
1.32k stars 35 forks source link

Method aliasing doesn't work when implemented by interface: #48

Closed matthewmueller closed 6 years ago

matthewmueller commented 7 years ago
type Component interface {
    Render() VNode
}

// js:"render"
func (h *Header) Render() VNode {
    return nil
}

We should probably:

matthewmueller commented 6 years ago

done