arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.7k stars 4.72k forks source link

Berry `classof` extended to class methods #21615

Closed s-hadinger closed 3 weeks ago

s-hadinger commented 3 weeks ago

Description:

Berry classof() now works with non-native methods of classes. I don't see any direct use for this except for introspection, but this features comes for free and is used internally in solidification.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass