Title: Allow abstract class for local declarations and expressions · Issue #9110 · microsoft/TypeScript · GitHub
Open Graph Title: Allow abstract class for local declarations and expressions · Issue #9110 · microsoft/TypeScript
X Title: Allow abstract class for local declarations and expressions · Issue #9110 · microsoft/TypeScript
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 po...
Open Graph 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 { } ...
X 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 SomeAbstr...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/9110
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow abstract class for local declarations and expressions","articleBody":"**TypeScript Version:** \n\n1.8.9 / nightly (1.9.0-dev.20160612-1.0)\n\n**Code**\n\n``` ts\n(() => {\n // works:\n class SomeClass { }\n\n // emits \"error TS1184: Modifiers cannot appear here\":\n abstract class SomeAbstractClass { }\n})();\n```\n\n**Expected behavior:**\nIt should be possible to define abstract classes within functions just like non-abstract ones.\n","author":{"url":"https://github.com/ulrichb","@type":"Person","name":"ulrichb"},"datePublished":"2016-06-12T21:06:02Z","url":"https://github.com/microsoft/TypeScript/issues/9110"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e830206c-fbea-bef4-4c94-b34b708fbd83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB50:117C62:6C98BF:92C762:6B00D9B4 |
| html-safe-nonce | c078c821dc310ff254aaf33d91f9b59c2541f80b0a3350bbd9b1eb98324efdc8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjUwOjExN0M2Mjo2Qzk4QkY6OTJDNzYyOjZCMDBEOUI0IiwidmlzaXRvcl9pZCI6IjY2NjUwMTE4MDQ1NjcwMzQyOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c535f5d53d14acf73502963948c21d0ac6222503e221705969fd08cfe77e357 |
| hovercard-subject-tag | issue:159847663 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/9110/issue_layout |
| twitter:image | https://opengraph.githubassets.com/52aa29ecfdb7d8d8ec422bc3f0d1550e279e4f9bbeac6fabb8d8142e840b1bb9/microsoft/TypeScript/issues/9110 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52aa29ecfdb7d8d8ec422bc3f0d1550e279e4f9bbeac6fabb8d8142e840b1bb9/microsoft/TypeScript/issues/9110 |
| og:image:alt | 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 { } ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ulrichb |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width