When an object literal is declared to pass options to a mixin, the DISALLOWMULTIPLELINEBREAKS error is thrown. This can be demonstrated with the following:
+dummyMixin({
a: 'foo',
b: 'bar'
})
Note, however, that this only occurs when the object definition involves multiple keys (and therefore multiple lines), as the following code passes error-free:
+dummyMixin({
a: 'foo'
})
Is this intentional?
FWIW, I've demonstrated this in a failing test as requested in the contributing guidelines. I wasn't sure how you'd prefer I organize the fixture file, but you get the idea.
When an object literal is declared to pass options to a mixin, the
DISALLOWMULTIPLELINEBREAKS
error is thrown. This can be demonstrated with the following:Note, however, that this only occurs when the object definition involves multiple keys (and therefore multiple lines), as the following code passes error-free:
Is this intentional?
FWIW, I've demonstrated this in a failing test as requested in the contributing guidelines. I wasn't sure how you'd prefer I organize the fixture file, but you get the idea.