utils: Better class deprecation warnings

Fix #1228
This commit is contained in:
Emmanuel Lepage Vallee 2016-12-11 14:53:44 -05:00
parent e239492696
commit 828d6f2cd9
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function util.deprecate_class(fallback, old_name, new_name)
end
local function newindex(_, k, v)
util.deprecate(message)
util.deprecate(message, {raw = true})
fallback[k] = v
end