PR Feedback

This commit is contained in:
Ron Buckton
2015-05-22 23:56:41 -07:00
parent ac447f1f51
commit 666a0db6ae
11 changed files with 174 additions and 144 deletions

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/decoratorOnClass8.ts(3,1): error TS1220: Invalid expression for class decorator.
tests/cases/conformance/decorators/class/decoratorOnClass8.ts(3,1): error TS1220: Unable to resolve signature of class decorator when called as an expression.
Supplied parameters do not match any signature of call target.
@@ -7,7 +7,7 @@ tests/cases/conformance/decorators/class/decoratorOnClass8.ts(3,1): error TS1220
@dec()
~~~~~~
!!! error TS1220: Invalid expression for class decorator.
!!! error TS1220: Unable to resolve signature of class decorator when called as an expression.
!!! error TS1220: Supplied parameters do not match any signature of call target.
class C {
}

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod10.ts(4,6): error TS1220: Invalid expression for method decorator.
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod10.ts(4,6): error TS1220: Unable to resolve signature of method decorator when called as an expression.
Argument of type 'C' is not assignable to parameter of type 'Function'.
Property 'apply' is missing in type 'C'.
@@ -9,7 +9,7 @@ tests/cases/conformance/decorators/class/method/decoratorOnClassMethod10.ts(4,6)
class C {
@dec method() {}
~~~
!!! error TS1220: Invalid expression for method decorator.
!!! error TS1220: Unable to resolve signature of method decorator when called as an expression.
!!! error TS1220: Argument of type 'C' is not assignable to parameter of type 'Function'.
!!! error TS1220: Property 'apply' is missing in type 'C'.
}

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5): error TS1220: Invalid expression for method decorator.
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5): error TS1220: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
@@ -8,6 +8,6 @@ tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5):
class C {
@dec ["method"]() {}
~~~~
!!! error TS1220: Invalid expression for method decorator.
!!! error TS1220: Unable to resolve signature of method decorator when called as an expression.
!!! error TS1220: Supplied parameters do not match any signature of call target.
}

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts(4,5): error TS1220: Invalid expression for method decorator.
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts(4,5): error TS1220: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
@@ -8,6 +8,6 @@ tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts(4,5):
class C {
@dec method() {}
~~~~
!!! error TS1220: Invalid expression for method decorator.
!!! error TS1220: Unable to resolve signature of method decorator when called as an expression.
!!! error TS1220: Supplied parameters do not match any signature of call target.
}

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts(4,5): error TS1220: Invalid expression for property decorator.
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts(4,5): error TS1220: Unable to resolve signature of property decorator when called as an expression.
Supplied parameters do not match any signature of call target.
@@ -8,6 +8,6 @@ tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts(
class C {
@dec prop;
~~~~
!!! error TS1220: Invalid expression for property decorator.
!!! error TS1220: Unable to resolve signature of property decorator when called as an expression.
!!! error TS1220: Supplied parameters do not match any signature of call target.
}

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty6.ts(4,5): error TS1220: Invalid expression for property decorator.
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty6.ts(4,5): error TS1220: Unable to resolve signature of property decorator when called as an expression.
Supplied parameters do not match any signature of call target.
@@ -8,6 +8,6 @@ tests/cases/conformance/decorators/class/property/decoratorOnClassProperty6.ts(4
class C {
@dec prop;
~~~~
!!! error TS1220: Invalid expression for property decorator.
!!! error TS1220: Unable to resolve signature of property decorator when called as an expression.
!!! error TS1220: Supplied parameters do not match any signature of call target.
}

View File

@@ -1,4 +1,4 @@
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty7.ts(4,5): error TS1220: Invalid expression for property decorator.
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty7.ts(4,5): error TS1220: Unable to resolve signature of property decorator when called as an expression.
Supplied parameters do not match any signature of call target.
@@ -8,6 +8,6 @@ tests/cases/conformance/decorators/class/property/decoratorOnClassProperty7.ts(4
class C {
@dec prop;
~~~~
!!! error TS1220: Invalid expression for property decorator.
!!! error TS1220: Unable to resolve signature of property decorator when called as an expression.
!!! error TS1220: Supplied parameters do not match any signature of call target.
}