Skip to content

Commit f31a376

Browse files
committed
.
1 parent b9b9ec8 commit f31a376

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

content/unroll-default-arguments.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,13 @@ the JVM, so we should just follow suite
192192
### All Overrides Are Equivalent
193193

194194
All versions of an `@unroll`ed method `def foo` should have the same semantics when called
195-
with the same parameters.
195+
with the same parameters. We must be careful to ensure:
196196

197-
**Note:** this includes forwarder methods that may never get called in the scenarios
198-
required by our [Backwards Compatibility](#backwards-compatibility) requirement.
197+
1. All our different method overrides point at the same underlying implementation
198+
2. Abstract methods are properly implemented, and no method would fail with an
199+
`AbstractMethodError` when called
200+
3. We properly forward the necessary argument and default parameter values when
201+
calling the respective implementation.
199202

200203
## Proposed solution
201204

0 commit comments

Comments
 (0)