Erfolg

tests.wurstscript.tests.ExtensionMethodsTests.extensionFunction_int (from tests.wurstscript.tests.AllTests)

Dauer: 0,52 Sekunden.

Standard Ausgabe (STDOUT)

Nullpointer exception when calling A.foo
Called A.foo on invalid object.
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
update model with test
leftType = integer
[
  {
    "label": "bar",
    "kind": "Function",
    "detail": "() [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.bar() \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 4
        },
        "end": {
          "line": 6,
          "column": 4
        }
      },
      "newText": "bar()"
    },
    "rating": 0.6,
    "parameters": []
  },
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 4
        },
        "end": {
          "line": 6,
          "column": 4
        }
      },
      "newText": "foo()"
    },
    "rating": 0.6,
    "parameters": []
  }
]
update model with test
leftType = integer
[
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 4
        },
        "end": {
          "line": 6,
          "column": 5
        }
      },
      "newText": "foo()"
    },
    "rating": 1.33,
    "parameters": []
  }
]
update model with test
leftType = integer
[
  {
    "label": "foo",
    "kind": "Function",
    "detail": "(integer a, boolean b) [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo(\u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e a, \u003cfont color\u003d\"rgb(34,136,143)\"\u003eboolean\u003c/font\u003e b) \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 5,
          "column": 4
        },
        "end": {
          "line": 5,
          "column": 5
        }
      },
      "newText": "foo"
    },
    "rating": 1.33,
    "parameters": [
      {
        "type": "integer",
        "name": "a"
      },
      {
        "type": "boolean",
        "name": "b"
      }
    ]
  }
]
update model with test
leftType = integer
[
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 4
        },
        "end": {
          "line": 6,
          "column": 5
        }
      },
      "newText": "foo()"
    },
    "rating": 1.33,
    "parameters": []
  }
]
update model with test
leftType = integer
[
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 4
        },
        "end": {
          "line": 6,
          "column": 5
        }
      },
      "newText": "foo()"
    },
    "rating": 1.33,
    "parameters": []
  }
]
update model with test
leftType = integer
[
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 7,
          "column": 13
        },
        "end": {
          "line": 7,
          "column": 14
        }
      },
      "newText": "foo()"
    },
    "rating": 1.33,
    "parameters": []
  }
]
update model with test
leftType = integer
[
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() returns integer [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003ereturns\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e\u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 12
        },
        "end": {
          "line": 6,
          "column": 13
        }
      },
      "newText": "foo()"
    },
    "rating": 1.33,
    "parameters": []
  },
  {
    "label": "fuu",
    "kind": "Function",
    "detail": "() returns boolean [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.fuu() \u003cbr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003ereturns\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003eboolean\u003c/font\u003e\u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 12
        },
        "end": {
          "line": 6,
          "column": 13
        }
      },
      "newText": "fuu()"
    },
    "rating": 1.23,
    "parameters": []
  }
]
update model with test
leftType = integer
[
  {
    "label": "fuu",
    "kind": "Function",
    "detail": "() returns boolean [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.fuu() \u003cbr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003ereturns\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003eboolean\u003c/font\u003e\u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 13
        },
        "end": {
          "line": 6,
          "column": 14
        }
      },
      "newText": "fuu()"
    },
    "rating": 1.33,
    "parameters": []
  },
  {
    "label": "foo",
    "kind": "Function",
    "detail": "() returns integer [package test]",
    "documentation": "\u003cpre\u003e\u003chr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003efunction\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e.foo() \u003cbr /\u003e\u003cb\u003e\u003cfont color\u003d\"rgb(127,0,85)\"\u003ereturns\u003c/font\u003e\u003c/b\u003e \u003cfont color\u003d\"rgb(34,136,143)\"\u003einteger\u003c/font\u003e\u003cbr /\u003e\u003c/pre\u003edefined in package test",
    "textEdit": {
      "range": {
        "start": {
          "line": 6,
          "column": 13
        },
        "end": {
          "line": 6,
          "column": 14
        }
      },
      "newText": "foo()"
    },
    "rating": 1.23,
    "parameters": []
  }
]

Standard Fehler (STDERR)

Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable A_typeId is null.
Variable A_i is null.
Variable A_i is null.
Variable A_i is null.
Variable A_i is null.
Variable Iterator_t is null.
Variable Iterator_t is null.