Version 3055 has a “bug” with text objects (this may have been introduced in version 3052 as that had changes in this area) and it is very inconvenient.
For example this code no longer works
local aVar = 100 display.newText({text = aVar, x = 100, y = 100, width = 100, font = "arial", fontSize = 12, align = "left"})
and now throws an error
ERROR: display.newText() invalid 'text' parameter (expected string but got number)
I cannot think of one number that cannot be represented as a string so why force developers to coerce all our numbers into strings to be displayed as text objects?
It is such a common use case for games to display numerical data. Please revert this change.
Thanks
Adrian