File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -505,21 +505,6 @@ export function compileScript(
505
505
506
506
// 2.2 process <script setup> body
507
507
for ( const node of scriptSetupAst . body ) {
508
- // (Dropped) `ref: x` bindings
509
- // TODO remove when out of experimental
510
- if (
511
- node . type === 'LabeledStatement' &&
512
- node . label . name === 'ref' &&
513
- node . body . type === 'ExpressionStatement'
514
- ) {
515
- ctx . error (
516
- `ref sugar using the label syntax was an experimental proposal and ` +
517
- `has been dropped based on community feedback. Please check out ` +
518
- `the new proposal at https://github.com/vuejs/rfcs/discussions/369` ,
519
- node
520
- )
521
- }
522
-
523
508
if ( node . type === 'ExpressionStatement' ) {
524
509
const expr = unwrapTSNode ( node . expression )
525
510
// process `defineProps` and `defineEmit(s)` calls
Original file line number Diff line number Diff line change 1
- // TODO deprecated file - to be removed when out of experimental
1
+ // TODO remove in 3.4
2
2
import './macros-global'
You can’t perform that action at this time.
0 commit comments