20 lines
No EOL
585 B
Text
20 lines
No EOL
585 B
Text
==== tests/cases/compiler/multipleClassPropertyModifiersErrors.ts (5 errors) ====
|
|
class C {
|
|
public public p1;
|
|
~~~~~~
|
|
!!! Accessibility modifier already seen.
|
|
private private p2;
|
|
~~~~~~~
|
|
!!! Accessibility modifier already seen.
|
|
static static p3;
|
|
~~~~~~
|
|
!!! 'static' modifier already seen.
|
|
public private p4;
|
|
~~~~~~~
|
|
!!! Accessibility modifier already seen.
|
|
private public p5;
|
|
~~~~~~
|
|
!!! Accessibility modifier already seen.
|
|
public static p6;
|
|
private static p7;
|
|
} |