You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deff():
s: strs="abcdefg"print(s[1]) # prints "bcdefg", but should print "b"print(s[1:2]) # prints "cdefg", but should print "b"print(s[1:3]) # prints "defg", but should print "bc"f()
Activity
namannimmo10 commentedon Mar 23, 2022
C++ code for reference:
namannimmo10 commentedon Mar 23, 2022
We should improve it as well.
namannimmo10 commentedon Mar 26, 2022
I guess the problem is here:
lpython/src/libasr/codegen/asr_to_llvm.cpp
Lines 1029 to 1043 in 3104565
Smit-create commentedon Apr 14, 2022
This issue might be easier to handle once we move forward with: https://gitlab.com/lfortran/lfortran/-/merge_requests/1700