forked fromfsharp/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commit582b967
authored
Ref/Span fixes (#5146)
* Added LimitedValFlags for PostInferenceChecks* More work* Renamed IsLimited to IsLimitedSpanLike* Don't use isByRefReturnCall in CheckExprs* Minor cleanup* Changed error message. Fixed safety rule regarding byrefs returning and passing.* Fixed an edge case with returning span. Simplified Expr.App* Cleanup* Fixed a few ref return checks. Partially handling byref of span-like types* Simplifying flags. Added CheckCall* Updated test baseline. Added several CheckCall functions* Updated baseline tests* Handling byref of span likes* Added a little bit better error msg for LByrefGet* Removed commented code* Fixed test* Fixed inability to use byref<Span<>> for delegates and slots* Minor cleanup with some comments* Few more comments* Running neg tests in core/span. Fixed bug in IsByRefLike structs with span fields* Updated baseline* Fixed more issues with slots. Simplified PermitByRefType* Added a little better error messages on spans* Fixed record construction for span likes. Fixed setting fields on mutable structs not having any rules for span likes. Updated a few error msgs. Added lots of tests.* Updated error msg on function call. Added a removed comment from previous commit. Updated baselines* Added internalTestSpanStackReferring test option* Added special handling for receivers* Fixing build* Fixing build* Fixing build* More tests, updated baseline1 parent4200819 commit582b967
File tree
34 files changed
+1156
-292
lines changed- src
- buildfromsource/FSharp.Compiler.Private
- fsharp
- xlf
- tests/fsharp
- core/span
- typecheck/sigs
34 files changed
+1156
-292
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4324 | 4324 | | |
4325 | 4325 | | |
4326 | 4326 | | |
4327 | | - | |
| 4327 | + | |
4328 | 4328 | | |
4329 | | - | |
4330 | | - | |
| 4329 | + | |
| 4330 | + | |
4331 | 4331 | | |
4332 | 4332 | | |
4333 | 4333 | | |
| |||
4342 | 4342 | | |
4343 | 4343 | | |
4344 | 4344 | | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
| 4348 | + | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
4345 | 4354 | | |
4346 | 4355 | | |
4347 | 4356 | | |
| |||
5748 | 5757 | | |
5749 | 5758 | | |
5750 | 5759 | | |
5751 | | - | |
| 5760 | + | |
5752 | 5761 | | |
5753 | 5762 | | |
5754 | 5763 | | |
5755 | 5764 | | |
5756 | 5765 | | |
| 5766 | + | |
| 5767 | + | |
| 5768 | + | |
5757 | 5769 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4327 | 4327 | | |
4328 | 4328 | | |
4329 | 4329 | | |
4330 | | - | |
4331 | | - | |
| 4330 | + | |
| 4331 | + | |
4332 | 4332 | | |
4333 | 4333 | | |
4334 | | - | |
| 4334 | + | |
4335 | 4335 | | |
4336 | 4336 | | |
4337 | 4337 | | |
| |||
4345 | 4345 | | |
4346 | 4346 | | |
4347 | 4347 | | |
| 4348 | + | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
4348 | 4357 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2347 | 2347 | | |
2348 | 2348 | | |
2349 | 2349 | | |
| 2350 | + | |
2350 | 2351 | | |
2351 | 2352 | | |
2352 | 2353 | | |
| |||
2483 | 2484 | | |
2484 | 2485 | | |
2485 | 2486 | | |
| 2487 | + | |
2486 | 2488 | | |
2487 | 2489 | | |
2488 | 2490 | | |
| |||
2943 | 2945 | | |
2944 | 2946 | | |
2945 | 2947 | | |
| 2948 | + | |
2946 | 2949 | | |
2947 | 2950 | | |
2948 | 2951 | | |
| |||
5431 | 5434 | | |
5432 | 5435 | | |
5433 | 5436 | | |
5434 | | - | |
| 5437 | + | |
5435 | 5438 | | |
5436 | 5439 | | |
5437 | 5440 | | |
| |||
5468 | 5471 | | |
5469 | 5472 | | |
5470 | 5473 | | |
5471 | | - | |
| 5474 | + | |
5472 | 5475 | | |
5473 | 5476 | | |
5474 | 5477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| 835 | + | |
835 | 836 | | |
836 | 837 | | |
837 | 838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
1434 | | - | |
| 1433 | + | |
| 1434 | + | |
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
0 commit comments
Comments
(0)