forked from qt-creator/qt-creator
Number, String, Array, Object, Function and Boolean should not be used. Migrated from QtChecker. Change-Id: I8aee41f12389196ed49c44e26eb04d3fac040a2b Reviewed-on: http://codereview.qt-project.org/5859 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
15 lines
343 B
QML
15 lines
343 B
QML
import QtQuick 1.0
|
|
|
|
Item {
|
|
function foo() {
|
|
var x = new Number(); // 308 21 26
|
|
x = new String(); // 110 17 22
|
|
x = new Array(); // 112 17 21
|
|
x = new Object(); // 111 17 22
|
|
x = new Function(); // 113 17 24
|
|
x = new Boolean() // 109 17 23
|
|
x = new Date()
|
|
x = new Array(6)
|
|
}
|
|
}
|