mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-02 14:48:32 -05:00
Merge pull request #27669 from Microsoft/betterErrorForAccidentalCall
Always emit diagnostic when a call expression can be fixed by adding a semicolon
This commit is contained in:
@@ -7,8 +7,8 @@ foo() (1 as number).toString();
|
||||
foo()
|
||||
(1 as number).toString();
|
||||
|
||||
foo()
|
||||
(1 as number).toString();
|
||||
foo()
|
||||
(1 + 2).toString();
|
||||
|
||||
foo()
|
||||
foo()
|
||||
(<number>1).toString();
|
||||
Reference in New Issue
Block a user