You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a case where we are building up a Type and we add interfaces to it based on other content.
Since TypeSpec.Builder.superinterfaces is a List instead of a Set, it allows adding the same interface twice, meaning we have to check if it contains before adding to it.
The text was updated successfully, but these errors were encountered:
bentatham
added a commit
to bentatham/javapoet
that referenced
this issue
Sep 8, 2020
We have a case where we are building up a Type and we add interfaces to it based on other content.
Since
TypeSpec.Builder.superinterfaces
is aList
instead of aSet
, it allows adding the same interface twice, meaning we have to check if it contains before adding to it.The text was updated successfully, but these errors were encountered: