We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the example code here,
i: i32 for i in range(10): q: i32 = 10 j: i32 for j in range(5): p: i32 = i+1
the following error pops up:
code generation error: asr_to_llvm: module failed verification. Error: conflicting debug info for argument call void @llvm.dbg.declare(metadata i32* %p, metadata !10, metadata !DIExpression()), !dbg !17 !7 = !DILocalVariable(name: "j", arg: 1, scope: !3, file: !1, line: 4, type: !8) !10 = !DILocalVariable(name: "p", arg: 1, scope: !3, file: !1, line: 6, type: !8)
This is due to both j and p being in the same scope when declaring the DILocalVariable, even though they are not in the same scope.
j
p
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the example code here,
the following error pops up:
This is due to both
j
andp
being in the same scope when declaring the DILocalVariable, even though they are not in the same scope.The text was updated successfully, but these errors were encountered: