compiler: correct grammar in error message
authorIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 20:36:19 +0000 (12:36 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 21:07:54 +0000 (13:07 -0800)
For golang/go#43200

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/278452

gcc/go/gofrontend/MERGE
gcc/go/gofrontend/statements.cc

index a28294c594f26d3fb4f712d54788f37b1f0eb667..6567db167a25c424da097a8322e36f8c834b6bfa 100644 (file)
@@ -1,4 +1,4 @@
-10d3dd939d4cea7f40b76f8ff82c16aa12c01188
+526037336231593939a517b7c0b2892d413adb40
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index af82f36bc434c02f8dce48342b68db6cdb8781a4..398b8fd82f2202e314367e012f2f6acd0d647e63 100644 (file)
@@ -4538,7 +4538,7 @@ Switch_statement::do_lower(Gogo*, Named_object*, Block* enclosing,
                                              Type::make_nil_type(), NULL))
     {
       go_error_at(this->val_->location(),
-                 "cannot switch on value whose type that may not be compared");
+                 "cannot switch on value whose type may not be compared");
       return Statement::make_error_statement(loc);
     }