From: Evan You Date: Wed, 14 Jul 2021 14:04:35 +0000 (-0400) Subject: refactor: remove deprecated scopeId codegen X-Git-Tag: v3.2.0-beta.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f596e008efd97fe8f9b28f536fbb0fd48b9b6333;p=thirdparty%2Fvuejs%2Fcore.git refactor: remove deprecated scopeId codegen BREAKING CHANGE: Output of SFC using ` - `, - { - inlineTemplate: true - } - ) - expect(content).toMatch(`return (_ctx, _cache`) - expect(content).not.toMatch(`_withId(`) - assertCode(content) - }) }) describe('with TypeScript', () => { diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 6016ae9f46..6d1b37e668 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -148,15 +148,6 @@ export function compileScript( ) } - // TODO remove on 3.2 - if (sfc.template && sfc.template.attrs['inherit-attrs'] === 'false') { - warnOnce( - `Experimental support for