diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-19 10:35:56 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-19 10:35:56 +0100 |
commit | d8a313dd422c78fb018cfe4249b526fe3e9dc851 (patch) | |
tree | 743e20edfd20058b6b784b9099544ff3878d3278 /README.md | |
parent | eb686879fdd7cde5d09837c202ebd25c9c9889a6 (diff) |
allow same-named method generics if they have same bounds
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -117,3 +117,6 @@ trait TraitWithCallback { Note that since in order to be object-safe methods must not have generics, dynamize simply moves the generic from the method to the trait definition. + +If two method type parameters have the same name, dynamize enforces that they +also have the same bounds and only adds the parameter once to the trait. |