File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ impl<'a> ParserImpl<'a> {
9090 self . verify_modifiers (
9191 & modifiers,
9292 ModifierFlags :: empty ( ) ,
93- true ,
93+ true ,
9494 diagnostics:: modifier_cannot_be_used_here,
9595 ) ;
9696
@@ -212,7 +212,7 @@ impl<'a> ParserImpl<'a> {
212212 self . verify_modifiers (
213213 modifiers,
214214 ModifierFlags :: empty ( ) ,
215- true ,
215+ true ,
216216 diagnostics:: modifier_cannot_be_used_here,
217217 ) ;
218218 self . ast . alloc_object_property (
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ impl<'a> ParserImpl<'a> {
3939 self . verify_modifiers (
4040 modifiers,
4141 ModifierFlags :: DECLARE | ModifierFlags :: CONST ,
42- true ,
42+ true ,
4343 diagnostics:: modifier_cannot_be_used_here,
4444 ) ;
4545 self . ast . declaration_ts_enum (
@@ -173,7 +173,7 @@ impl<'a> ParserImpl<'a> {
173173 self . verify_modifiers (
174174 modifiers,
175175 ModifierFlags :: DECLARE ,
176- true ,
176+ true ,
177177 diagnostics:: modifier_cannot_be_used_here,
178178 ) ;
179179
@@ -202,7 +202,7 @@ impl<'a> ParserImpl<'a> {
202202 self . verify_modifiers (
203203 modifiers,
204204 ModifierFlags :: DECLARE ,
205- true ,
205+ true ,
206206 diagnostics:: modifier_cannot_be_used_here,
207207 ) ;
208208 if let Some ( ( implements_kw_span, _) ) = implements {
@@ -267,7 +267,7 @@ impl<'a> ParserImpl<'a> {
267267 self . verify_modifiers (
268268 & modifiers,
269269 ModifierFlags :: READONLY ,
270- true ,
270+ true ,
271271 diagnostics:: cannot_appear_on_a_type_member,
272272 ) ;
273273
@@ -401,7 +401,7 @@ impl<'a> ParserImpl<'a> {
401401 self . verify_modifiers (
402402 modifiers,
403403 ModifierFlags :: DECLARE ,
404- true ,
404+ true ,
405405 diagnostics:: modifier_cannot_be_used_here,
406406 ) ;
407407 self . ast . alloc_ts_module_declaration (
@@ -446,7 +446,7 @@ impl<'a> ParserImpl<'a> {
446446 self . verify_modifiers (
447447 modifiers,
448448 ModifierFlags :: DECLARE ,
449- true ,
449+ true ,
450450 diagnostics:: modifier_cannot_be_used_here,
451451 ) ;
452452 let decl = self . parse_variable_declaration (
You can’t perform that action at this time.
0 commit comments