mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Small cleanups in toolchain code (#2474)
Doing some sorting of functions / enums (generally speaking, I've been trying to keep these loosely lexically sorted for lack of a better ordering). Also removes some code that seems to be dead, and a minor TODO comment fix.
This commit is contained in:
@@ -66,7 +66,7 @@ interface foo {
|
||||
// CHECK:STDERR: {{.*}}/toolchain/parser/testdata/generics/interface/fail_self_param_syntax.carbon:[[@LINE+1]]:10: Deduced parameters must be of the form: `<name>: <Type>` or `addr <name>: <Type>`.
|
||||
fn Mul[Self](b: Self) -> Self;
|
||||
|
||||
// TODO The recovery token is currently inserted after the `;`:
|
||||
// TODO: The recovery token is currently inserted after the `;`:
|
||||
// ```
|
||||
// fn Div[me: Self(b: Self) -> Self;]
|
||||
// ```
|
||||
|
||||
Reference in New Issue
Block a user