From: Eduardo San Martin Morote Date: Sat, 2 May 2020 14:26:32 +0000 (+0200) Subject: fix(warn): cast symbols to strings (#1103) X-Git-Tag: v3.0.0-beta.7~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71a942b25a2cad61c3d670075523c31d296c7089;p=thirdparty%2Fvuejs%2Fcore.git fix(warn): cast symbols to strings (#1103) --- diff --git a/packages/runtime-core/src/apiCreateApp.ts b/packages/runtime-core/src/apiCreateApp.ts index c1e0538cb6..4e3079e436 100644 --- a/packages/runtime-core/src/apiCreateApp.ts +++ b/packages/runtime-core/src/apiCreateApp.ts @@ -241,7 +241,7 @@ export function createAppAPI( provide(key, value) { if (__DEV__ && key in context.provides) { warn( - `App already provides property with key "${key}". ` + + `App already provides property with key "${String(key)}". ` + `It will be overwritten with the new value.` ) }