File tree 2 files changed +6
-3
lines changed
packages/compiler-sfc/src
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,10 @@ export function compileScript(
548
548
decl . init
549
549
)
550
550
} else {
551
- warnExperimental ( `ref sugar` , 0 /* TODO */ )
551
+ warnExperimental (
552
+ `ref sugar` ,
553
+ `https://github.com/vuejs/rfcs/discussions/369`
554
+ )
552
555
}
553
556
554
557
const callee = ( decl . init . callee as Identifier ) . name
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ export function warn(msg: string) {
15
15
)
16
16
}
17
17
18
- export function warnExperimental ( feature : string , rfcId : number ) {
18
+ export function warnExperimental ( feature : string , url : string ) {
19
19
// eslint-disable-next-line
20
20
if ( typeof window !== 'undefined' ) {
21
21
return
22
22
}
23
23
warnOnce (
24
24
`${ feature } is still an experimental proposal.\n` +
25
- `Follow its status at https://github.com/vuejs/rfcs/pull/ ${ rfcId } .`
25
+ `Follow its status at ${ url } .`
26
26
)
27
27
warnOnce (
28
28
`When using experimental features,\n` +
You can’t perform that action at this time.
0 commit comments