Make it possible to gather annotation classes for Union and Optional

This commit is contained in:
Dave Halter committed 2018-11-27 01:14:15 +01:00
1 parent eb27c64c71
commit 5bb88ca703
4 files changed
+13 -2

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ class ExecutedParam(object):
return True
matches = any(c1.is_sub_class_of(c2)
for c1 in argument_contexts
for c2 in annotations)
for c2 in annotations.gather_annotation_classes())
debug.dbg("signature compare %s: %s <=> %s",
matches, argument_contexts, annotations, color='BLUE')
return matches