We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150e5ce commit 0b66998Copy full SHA for 0b66998
1 file changed
java2python/mod/transform.py
@@ -184,6 +184,7 @@ def typeSub(node, config):
184
mapping and further discussion.
185
"""
186
ident = node.token.text
187
- subs = config.last('typeSubs')
188
- if ident in subs:
189
- node.token.text = subs[ident]
+ for subs in reversed(config.every('typeSubs', {})):
+ if ident in subs:
+ node.token.text = subs[ident]
190
+ return
0 commit comments