Skip to content
5 changes: 3 additions & 2 deletions docs/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ end
transpiles to

```brightscript
sub __MyComp_method_new()
end sub
function __MyComp_builder()
instance = {}
instance.new = sub()
end sub
instance.new = __MyComp_method_new
return instance
end function
function MyComp()
Expand Down
Loading
Loading