clj-commons / manifold

A compatibility layer for event-driven abstractions
1.01k stars 106 forks source link

Reduce levels of go-off nesting in `go-off-nests` test #217

Closed KingMob closed 1 year ago

KingMob commented 1 year ago

Adding a let with a single binding wrapping the test body results in ClassFormatError: Too many arguments in method signature in class file.

The state machine-generating code results in a method with over 256 parameters, which is a violation of the Java class spec.

While it technically works at the moment, this is fragile, so I'm reducing the nesting a couple levels.