File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1281,7 +1281,7 @@ impl Element {
12811281 } ) ;
12821282
12831283 if base_type == ElementType :: Interface && visibility == PropertyVisibility :: Private {
1284- diag. push_warning (
1284+ diag. push_error (
12851285 "'private' properties are inaccessible in an interface" . into ( ) ,
12861286 & prop_decl,
12871287 ) ;
Original file line number Diff line number Diff line change 33
44export interface ValidInterfacePropertyDeclarations {
55 property <bool > implicit-private ;
6- // ^warning {'private' properties are inaccessible in an interface}
6+ // ^error {'private' properties are inaccessible in an interface}
77
88 private property <int > private ;
9- // ^warning {'private' properties are inaccessible in an interface}
9+ // ^error {'private' properties are inaccessible in an interface}
1010
1111 in property <int > in-property ;
1212 out property <string > out-property ;
You can’t perform that action at this time.
0 commit comments