We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c093f commit e494f0cCopy full SHA for e494f0c
mypyc/test-data/irbuild-str.test
@@ -752,11 +752,22 @@ def literal_both() -> bool:
752
return literal == "literal"
753
[out]
754
def literal_rhs(x):
755
- x :: str
+ x, r0 :: str
756
+ r1 :: bool
757
L0:
758
+ r0 = 'literal'
759
+ r1 = CPyStr_EqualLiteral(x, r0, 7)
760
+ return r1
761
def literal_lhs(x):
762
763
764
765
766
767
768
def literal_both():
- r0 :: bool
769
+ r0, r1 :: str
770
771
772
+ r1 = 'literal'
773
+ return 1
0 commit comments