mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 05:28:31 +00:00
Clean up some leftover references to the old :! syntax. (#7921)
This commit is contained in:
1 parent
059ee7b9ed
commit
72e425fe5c
6 files changed
+49
-49
No files matched your search
@@ -196,6 +196,9 @@ auto HandleBindingPattern(Context& context) -> void {
|
||||
// the default would otherwise be generic) is reported by `check` as a
|
||||
// misplaced `self` — the relevant error — rather than also producing a
|
||||
// `ref`-on-generic error from that default.
|
||||
//
|
||||
// TODO: This is wrong: it rejects `fn F(template self: Self)` and treats
|
||||
// `fn F(generic self: Self)` as being non-generic.
|
||||
if (self_token) {
|
||||
resolved_generic = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user