rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
152 stars 47 forks source link

Document the deprecated `ifMessagePort.setPort()` method. #1210

Closed TwitchBronBron closed 1 month ago

TwitchBronBron commented 1 month ago

Adds info about the deprecated ifMessagePort.setPort() method.

image

TODO - it would be nice to show strikethrough on the deprecated method somehow in the editor.

Also, based on this discussion, should this actually be added to the roUrlTransfer object instead of ifUrlTransfer? Those don't currently support having their own methods in our scraper, but it could?

markwpearce commented 1 month ago

Yes, the deprecated setPort method should only be on the object itself. The scrapper/BuiltInInterfaceAdder might not support that currently, but it’s not that big a deal to add