-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
TypeScript Version:
1.8.9 / nightly (1.9.0-dev.20160612-1.0)
Code
(() => {
// works:
class SomeClass { }
// emits "error TS1184: Modifiers cannot appear here":
abstract class SomeAbstractClass { }
})();
Expected behavior:
It should be possible to define abstract classes within functions just like non-abstract ones.
GoToLoop
Metadata
Metadata
Assignees
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript