TypeScript/tests/cases/compiler/staticInstanceResolution.ts

15 lines
248 B
TypeScript
Raw Normal View History

// @lib: es5
2014-07-13 01:04:16 +02:00
class Comment {
public getDocCommentText()
{
}
static getDocCommentText(comments: Comment[])
{
comments[0].getDocCommentText();
var c: Comment;
c.getDocCommentText();
}
}