Title: Shadowed type exports should be merged so all listed data constructors are exported · Issue #2138 · purescript/purescript · GitHub
Open Graph Title: Shadowed type exports should be merged so all listed data constructors are exported · Issue #2138 · purescript/purescript
X Title: Shadowed type exports should be merged so all listed data constructors are exported · Issue #2138 · purescript/purescript
Description: Repro case: module Problem (A, A(..)) where data A = B | C import Problem (A(B,C)) Compiling the second file generates Module Problem does not export data constructor B for type A I suggest giving an error for such shadowing or at least ...
Open Graph Description: Repro case: module Problem (A, A(..)) where data A = B | C import Problem (A(B,C)) Compiling the second file generates Module Problem does not export data constructor B for type A I suggest giving ...
X Description: Repro case: module Problem (A, A(..)) where data A = B | C import Problem (A(B,C)) Compiling the second file generates Module Problem does not export data constructor B for type A I suggest giving ...
Opengraph URL: https://github.com/purescript/purescript/issues/2138
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Shadowed type exports should be merged so all listed data constructors are exported","articleBody":"Repro case:\n\n``` purescript\nmodule Problem (A, A(..)) where\ndata A = B | C\n```\n\n``` purescript\nimport Problem (A(B,C))\n```\n\nCompiling the second file generates `Module Problem does not export data constructor B for type A`\n\nI suggest giving an error for such shadowing or at least warning if such export might be useful in some case (which I can't think of).\n","author":{"url":"https://github.com/kika","@type":"Person","name":"kika"},"datePublished":"2016-05-18T02:21:37Z","url":"https://github.com/purescript/purescript/issues/2138"}
| 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:877fc6e5-096e-3a6f-5bf5-0813f4afbd77 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5E4:2E7EBB:67A19E:84A0C4:6B00DF0B |
| html-safe-nonce | 896279f03bdfdc11240cc84afc319fd0d8a084d959200e09c3f36fbadfeac0af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUU0OjJFN0VCQjo2N0ExOUU6ODRBMEM0OjZCMDBERjBCIiwidmlzaXRvcl9pZCI6IjE5NzYwMzk2OTY0ODQwNjUwMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 317852bc8658ad9e0fa6a740e529f4a5e76df9e044bbec5d8614a2a8fe576bce |
| hovercard-subject-tag | issue:155403142 |
| 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/purescript/purescript/2138/issue_layout |
| twitter:image | https://opengraph.githubassets.com/804808208dbc90f6428d7d2876d9d26080d61299402d7276be428077c5aafcf9/purescript/purescript/issues/2138 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/804808208dbc90f6428d7d2876d9d26080d61299402d7276be428077c5aafcf9/purescript/purescript/issues/2138 |
| og:image:alt | Repro case: module Problem (A, A(..)) where data A = B | C import Problem (A(B,C)) Compiling the second file generates Module Problem does not export data constructor B for type A I suggest giving ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kika |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript/purescript git https://github.com/purescript/purescript.git |
| octolytics-dimension-user_id | 6556677 |
| octolytics-dimension-user_login | purescript |
| octolytics-dimension-repository_id | 13206906 |
| octolytics-dimension-repository_nwo | purescript/purescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13206906 |
| octolytics-dimension-repository_network_root_nwo | purescript/purescript |
| 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