Skip to content

Port float symbol method

Jonathan Wilkes requested to merge port-float-symbol-method into master

This replaces !383 (closed)

It adds a method to [float] to convert symbol messages where the payload can be interpreted as a number, like [symbol 123]. This is ported from Vanilla, and is only for the left inlet of [float].

In addition, I added a bunch of type hints to the error when a method isn't found:

  • hint for empty symbol selector
  • hint for empty symbol payload
  • hint for symbol message with a symbol atom that appears to be numeric
  • hint for a selector which itself may be interpreted as a number
  • hint for symbol atoms that look numeric and which would overflow on conversion or loading a patch
  • hint for null selector (though I don't have a test for this)

Merge request reports