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
There are two todos in codegen that mark a site of a likely bug. I think that there isn't an assignment back to the temporary variable at the very end of the code we generate, which means that the value gets computed but then dropped on the floor. This bug existed in IfThenElse as well, and I fixed it there, but I didn't look at these two sites closely enough to make a test that breaks and know for sure:
There are two todos in codegen that mark a site of a likely bug. I think that there isn't an assignment back to the temporary variable at the very end of the code we generate, which means that the value gets computed but then dropped on the floor. This bug existed in
IfThenElse
as well, and I fixed it there, but I didn't look at these two sites closely enough to make a test that breaks and know for sure:https://github.com/mcoblenz/Obsidian/blob/test_output/src/main/scala/edu/cmu/cs/obsidian/codegen/CodeGenYul.scala#L319
https://github.com/mcoblenz/Obsidian/blob/test_output/src/main/scala/edu/cmu/cs/obsidian/codegen/CodeGenYul.scala#L325
IfThenElse
if it is indeed brokenThe text was updated successfully, but these errors were encountered: