22 lines
374 B
TypeScript
22 lines
374 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
// Reference to a class parameter.
|
|
|
|
////var p = 2;
|
|
////
|
|
////class p { }
|
|
////
|
|
////class foo {
|
|
//// constructor (public [|p|]: any) {
|
|
//// }
|
|
////
|
|
//// public f(p) {
|
|
//// this.[|p|] = p;
|
|
//// }
|
|
////
|
|
////}
|
|
////
|
|
////var n = new foo(undefined);
|
|
////n.[|p|] = null;
|
|
|
|
verify.rangesReferenceEachOther();
|