We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d588ee3 commit 4789431Copy full SHA for 4789431
1 file changed
go/ql/lib/change-notes/2022-12-6-may-have-side-effects-return-stmt.md
@@ -0,0 +1,8 @@
1
+---
2
+category: minorAnalysis
3
4
+The definition of `mayHaveSideEffects` for `ReturnStmt` was incorrect when more
5
+than one expression was being returned. Such return statements were
6
+effectively considered to never have side effects. This has now been fixed.
7
+In rare circumstances `globalValueNumber` may have incorrectly treated two
8
+values as the same when they were in fact distinct.
0 commit comments