Closed wongjiahau closed 5 years ago
Instead of transpiling the types of each parameters, we should use an UUID to mark each function. Consider the functions below:
(this Int).plus(that Int) = undefined (this Float).plus(that Float) = undefined
The transpiled code should look like:
function plus$1($this, $that) { ...} function plus$2($this, $that) { ...}
Instead of:
function plus$Int$Int($this, $that) { ...} function plus$Float$Float($this, $that) { ...}
Instead of transpiling the types of each parameters, we should use an UUID to mark each function. Consider the functions below:
The transpiled code should look like:
Instead of: