stdlib-gen: avoid placing exact duplicates of annotations

This commit is contained in:
Ilya Gorbunov
2020-05-20 19:02:37 +03:00
parent 4ae6665b94
commit 79afc4f72b
@@ -66,7 +66,7 @@ class MemberBuilder(
var returns: String? = null; private set
val throwsExceptions = mutableListOf<ThrowsException>()
var body: String? = null; private set
val annotations: MutableList<String> = mutableListOf()
val annotations: MutableSet<String> = mutableSetOf()
val suppressions: MutableList<String> = mutableListOf()
fun sourceFile(file: SourceFile) { sourceFile = file }