Skip to content

Commit

Permalink
generator type
Browse files Browse the repository at this point in the history
  • Loading branch information
KuechA committed Oct 30, 2024
1 parent e6c639f commit fb30be7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class ExpressionHandler(frontend: PythonLanguageFrontend) :
return newCollectionComprehension(rawNode = node).apply {
statement = handle(node.elt)
comprehensionExpressions += node.generators.map { handleComprehension(it) }
type = objectType("Generator")
}
}

Expand Down

0 comments on commit fb30be7

Please sign in to comment.