Skip to content

Commit

Permalink
Update .good files for new return mismatch error
Browse files Browse the repository at this point in the history
---
Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
  • Loading branch information
mppf committed Oct 8, 2024
1 parent 8cd18bd commit 3019be6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion test/functions/deitz/test_return2.good
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
test_return2.chpl:1: error: Not all returns in this function return a value
test_return2.chpl:1: In function 'foo':
test_return2.chpl:4: error: Invalid mix of 'return's
test_return2.chpl:4: note: this one returns something
test_return2.chpl:6: note: this one does not return anything
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
error-void-nonvoid-returns-types-1.chpl:2: error: Not all returns in this function return a value
error-void-nonvoid-returns-types-1.chpl:2: In function 'p11f':
error-void-nonvoid-returns-types-1.chpl:3: error: Invalid mix of 'return's
error-void-nonvoid-returns-types-1.chpl:3: note: this one does not return anything
error-void-nonvoid-returns-types-1.chpl:3: note: this one returns something
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
error-void-nonvoid-returns-values-1.chpl:2: error: Not all returns in this function return a value
error-void-nonvoid-returns-values-1.chpl:2: In function 'p11e':
error-void-nonvoid-returns-values-1.chpl:3: error: Invalid mix of 'return's
error-void-nonvoid-returns-values-1.chpl:3: note: this one does not return anything
error-void-nonvoid-returns-values-1.chpl:3: note: this one returns something

0 comments on commit 3019be6

Please sign in to comment.