CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 19:31:48 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/scala/scala3.git
etag: W/"0fd5f05d0258b727fadd2441c495c5aa"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2F%2F6GEa7h%2FZ1B011OESg2LOn%2FcngQEHA9tdRQtbHH%2FRSx0NdRQSBrg5HqoniuUSR66dPzrKRFH9rraQMK57owINw7VrafMvs%2B1F95OQHn7W2fx2a%2F883jm8URPCUtWR%2FKarJgKEsCTilfP2yU56pE3zwuVYRIc7hhoez4n1PirAc5t2yd6V2o64FBlZknZH%2FZZ4fKTTbvm%2BBZv7tDaZcco53XkREleb548kBuqXzScnlouqs4N72BDKzgw4Dhv5VOGOQcvnIueNkugs70EWi0uQ%3D%3D--4fmI%2Boo7OBnAE7iq--R%2FTa8Suw9Tho1BuzubwWhQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.569009985.1753644707; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:31:47 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:31:47 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A260:2EF87B:C9E004:108333C:68867EA3
Merge pull request #4003 from dotty-staging/simplify-enums · scala/scala3@01f3094 · GitHub
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/Desugar.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/tpd.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/untpd.scala
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit 01f3094
File tree
Expand file treeCollapse file tree
39 files changed
+667
-395
lines changedFilter options
- compiler
- src/dotty/tools/dotc
- ast
- parsing
- reporting/diagnostic
- typer
- test/dotty/tools/dotc/reporting
- docs/docs
- internals
- reference/enums
- tests
- neg
- patmat
- pos
- reference
- run
- generic
Expand file treeCollapse file tree
39 files changed
+667
-395
lines changedcompiler/src/dotty/tools/dotc/ast/Desugar.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/Desugar.scala+75-46Lines changed: 75 additions & 46 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 |
| |
42 | 46 |
| |
43 | 47 |
| |
| |||
73 | 77 |
| |
74 | 78 |
| |
75 | 79 |
| |
76 |
| - | |
| 80 | + | |
77 | 81 |
| |
78 | 82 |
| |
79 | 83 |
| |
| |||
91 | 95 |
| |
92 | 96 |
| |
93 | 97 |
| |
94 |
| - | |
| 98 | + | |
95 | 99 |
| |
96 | 100 |
| |
97 | 101 |
| |
| |||
301 | 305 |
| |
302 | 306 |
| |
303 | 307 |
| |
304 |
| - | |
| 308 | + | |
305 | 309 |
| |
306 |
| - | |
307 |
| - | |
| 310 | + | |
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
311 |
| - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
312 | 321 |
| |
313 | 322 |
| |
314 |
| - | |
| 323 | + | |
| 324 | + | |
315 | 325 |
| |
316 | 326 |
| |
317 | 327 |
| |
318 | 328 |
| |
319 | 329 |
| |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
331 | 356 |
| |
| 357 | + | |
332 | 358 |
| |
333 | 359 |
| |
334 | 360 |
| |
| |||
361 | 387 |
| |
362 | 388 |
| |
363 | 389 |
| |
364 |
| - | |
365 |
| - | |
366 |
| - | |
367 |
| - | |
368 |
| - | |
369 |
| - | |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 |
| - | |
374 |
| - | |
375 |
| - | |
| 390 | + | |
| 391 | + | |
376 | 392 |
| |
377 |
| - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
378 | 400 |
| |
379 | 401 |
| |
380 | 402 |
| |
| |||
428 | 450 |
| |
429 | 451 |
| |
430 | 452 |
| |
| 453 | + | |
431 | 454 |
| |
432 | 455 |
| |
433 | 456 |
| |
| |||
473 | 496 |
| |
474 | 497 |
| |
475 | 498 |
| |
476 |
| - | |
| 499 | + | |
477 | 500 |
| |
478 | 501 |
| |
479 | 502 |
| |
| |||
486 | 509 |
| |
487 | 510 |
| |
488 | 511 |
| |
489 |
| - | |
| 512 | + | |
| 513 | + | |
490 | 514 |
| |
491 | 515 |
| |
492 | 516 |
| |
493 | 517 |
| |
494 | 518 |
| |
495 |
| - | |
496 |
| - | |
497 |
| - | |
498 |
| - | |
| 519 | + | |
| 520 | + | |
499 | 521 |
| |
500 |
| - | |
| 522 | + | |
501 | 523 |
| |
502 | 524 |
| |
503 | 525 |
| |
| |||
519 | 541 |
| |
520 | 542 |
| |
521 | 543 |
| |
522 |
| - | |
| 544 | + | |
523 | 545 |
| |
524 |
| - | |
525 |
| - | |
| 546 | + | |
| 547 | + | |
526 | 548 |
| |
527 | 549 |
| |
528 | 550 |
| |
| |||
531 | 553 |
| |
532 | 554 |
| |
533 | 555 |
| |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
534 | 563 |
| |
535 | 564 |
| |
536 | 565 |
| |
| |||
563 | 592 |
| |
564 | 593 |
| |
565 | 594 |
| |
566 |
| - | |
| 595 | + | |
567 | 596 |
| |
568 | 597 |
| |
569 | 598 |
| |
| |||
603 | 632 |
| |
604 | 633 |
| |
605 | 634 |
| |
606 |
| - | |
| 635 | + | |
607 | 636 |
| |
608 | 637 |
| |
609 | 638 |
| |
| |||
650 | 679 |
| |
651 | 680 |
| |
652 | 681 |
| |
653 |
| - | |
| 682 | + | |
654 | 683 |
| |
655 | 684 |
| |
656 | 685 |
| |
|
compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala+21-25Lines changed: 21 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
| |||
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
72 |
| - | |
| 71 | + | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
| 197 | + | |
197 | 198 |
| |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
| 199 | + | |
204 | 200 |
| |
205 | 201 |
| |
206 | 202 |
| |
207 | 203 |
| |
208 | 204 |
| |
209 |
| - | |
210 |
| - | |
| 205 | + | |
211 | 206 |
| |
212 | 207 |
| |
213 | 208 |
| |
| 209 | + | |
214 | 210 |
| |
215 | 211 |
| |
216 | 212 |
| |
|
compiler/src/dotty/tools/dotc/ast/tpd.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/tpd.scala+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
308 | 308 |
| |
309 | 309 |
| |
310 | 310 |
| |
| 311 | + | |
311 | 312 |
| |
312 | 313 |
| |
313 | 314 |
| |
|
compiler/src/dotty/tools/dotc/ast/untpd.scala
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/ast/untpd.scala+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 |
| - | |
233 |
| - | |
| 232 | + | |
| 233 | + | |
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
|
You can’t perform that action at this time.
0 commit comments