We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0358f01 commit 20886e7Copy full SHA for 20886e7
gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
1
-5c49a77455f52ba2c7eddb5b831456dc1c67b02f
+b4a932b4a51b612cadcec93a83f94d6ee7d7d190
2
3
The first line of this file holds the git revision number of the last
4
merge done from the gofrontend repository.
gcc/go/gofrontend/expressions.cc
@@ -3955,6 +3955,8 @@ Unary_expression::do_check_types(Gogo*)
3955
// Indirecting through a pointer.
3956
if (type->points_to() == NULL)
3957
this->report_error(_("expected pointer"));
3958
+ if (type->points_to()->is_error())
3959
+ this->set_is_error();
3960
break;
3961
3962
default:
0 commit comments