This is issue is a bit strange, as it fails somehow differently on my machine and @esluyter's
Anyway, in theory, this shouldn't work:
DC.kr(10) * 3600.0002.asPair
Since the left-hand is a UGen, it would generate a BinaryOpUGen instead of a Super one.
This PR fixes it:
making SuperPair's isValidUGenInput false, so that UGen.composeBinaryOp calls SuperPair.performBinaryOpOnUGen
overwriting UGen.composeBinaryOp to fix a bug (missing return statement), thus making this extension work also in sc versions where it's not fixed (I sent a PR to fix it, I'm positive it will be fixed in future SC versions)
This is issue is a bit strange, as it fails somehow differently on my machine and @esluyter's Anyway, in theory, this shouldn't work:
Since the left-hand is a UGen, it would generate a BinaryOpUGen instead of a Super one. This PR fixes it: