Title: Design Meeting Notes, 2/10/2017 · Issue #14010 · microsoft/TypeScript · GitHub
Open Graph Title: Design Meeting Notes, 2/10/2017 · Issue #14010 · microsoft/TypeScript
X Title: Design Meeting Notes, 2/10/2017 · Issue #14010 · microsoft/TypeScript
Description: private and protected members in mixin classes (#13990) continued Look at tests in #13990 We've got a bunch of mixable classes. Each one has a member called p that are all strings. Whenever you mix two things which have no clashes, we "z...
Open Graph Description: private and protected members in mixin classes (#13990) continued Look at tests in #13990 We've got a bunch of mixable classes. Each one has a member called p that are all strings. Whenever you mix...
X Description: private and protected members in mixin classes (#13990) continued Look at tests in #13990 We've got a bunch of mixable classes. Each one has a member called p that are all strings. Whenever you...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/14010
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 2/10/2017","articleBody":"# `private` and `protected` members in mixin classes (#13990)\r\n\r\n*continued*\r\n\r\n* Look at tests in #13990\r\n * We've got a bunch of mixable classes.\r\n * Each one has a member called `p` that are all `string`s.\r\n * Whenever you mix two things which have no clashes, we \"zip\" the symbols and everything checks the way it's supposed to check.\r\n * The minute we have a collision, we synthesize a property and have to decide what the accessibility is.\r\n * When unrelated private members collide, it should really be considered an error.\r\n * But we can't report errors when we generate intersections!\r\n * But at the very least, we can co-mingle the privates.\r\n * Accessing from the outside will be an error.\r\n * Can't report an error at mix-time. :(\r\n * But we can report an error if you derive from a mixed type! So we've got that going for us.\r\n * What about private/protected/public?\r\n * Private always poisons the pot as described earlier.\r\n * Protected/protected continues to be protected (can't be accessed from the outside).\r\n * Can widen from protected to public.\r\n* Internal changes\r\n * Symbol flags went up to 31 flags.\r\n * Bad because that means flags get boxed at runtime.\r\n * `SymbolFlags.Merged` was removed.\r\n * `Merged` symbols are just transient, can just use `SymbolFlags.Transient`.\r\n * Poof.\r\n * `Instantiated` and `SyntheticProperty`\r\n * Transient symbols are symbols created by the checker.\r\n * Symbol links need to be kept by the checker.\r\n * Anything used only by symbol links (and therefore the checker) can get its own flags.\r\n * Introducing `CheckFlags`\r\n * `getCheckFlags` gets you `CheckFlags`.","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2017-02-11T00:47:11Z","url":"https://github.com/microsoft/TypeScript/issues/14010"}
| 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:eb9fc921-157c-a7f3-42f9-15ac94e07128 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9208:364B55:902574:BC95DB:6B00DDC4 |
| html-safe-nonce | ef8246d0435cf7ea56d2b61ea422b6226361eb8c5265806fa42ea5f5c6cf7e44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjA4OjM2NEI1NTo5MDI1NzQ6QkM5NURCOjZCMDBEREM0IiwidmlzaXRvcl9pZCI6IjM3MjM0MjE3NTc2MDQ5NDUzNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 200b9282a839af95de0154249d6c8f361467f28a5aba91fe7d04b2d15cfdc71e |
| hovercard-subject-tag | issue:206942375 |
| 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/14010/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b32e3090911262a1dd666631e06958428f911eeef660f936f0aa61ea4aed956d/microsoft/TypeScript/issues/14010 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b32e3090911262a1dd666631e06958428f911eeef660f936f0aa61ea4aed956d/microsoft/TypeScript/issues/14010 |
| og:image:alt | private and protected members in mixin classes (#13990) continued Look at tests in #13990 We've got a bunch of mixable classes. Each one has a member called p that are all strings. Whenever you mix... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| 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 | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width