https://issues.dlang.org/show_bug.cgi?id=23647
Issue ID: 23647
Summary: Better error message on untyped function parameter
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
```
void foo(int i, j)
{
writeln(i, " ", j);
}
```
This code generates a following error:
onlineapp.d(3): Error: undefined identifier `j`
It's probably better to say something like `Expected type, not variable`
--
