Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1fb8a75

Browse files
forkiKevinRansom
authored andcommitted
fix typo (dotnet#2209)
1 parent126ff94 commit1fb8a75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/fsharp/TypeChecker.fs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13834,7 +13834,7 @@ module TyconConstraintInference =
1383413834
match structuralTypes |> List.tryFind (fst >> checkIfFieldTypeSupportsComparison tycon >> not) with
1383513835
| None ->
1383613836
assert false
13837-
failwith "unreachble"
13837+
failwith "unreachable"
1383813838
| Some (ty,_) ->
1383913839
if isTyparTy g ty then
1384013840
errorR(Error(FSComp.SR.tcStructuralComparisonNotSatisfied1(tycon.DisplayName,NicePrint.prettyStringOfTy denv ty),tycon.Range))
@@ -13847,7 +13847,7 @@ module TyconConstraintInference =
1384713847
match structuralTypes |> List.tryFind (fst >> checkIfFieldTypeSupportsComparison tycon >> not) with
1384813848
| None ->
1384913849
assert false
13850-
failwith "unreachble"
13850+
failwith "unreachable"
1385113851
| Some (ty,_) ->
1385213852
// NOTE: these warnings are off by default - they are level 4 informational warnings
1385313853
// PERF: this call to prettyStringOfTy is always being executed, even when the warning
@@ -13961,7 +13961,7 @@ module TyconConstraintInference =
1396113961
match structuralTypes |> List.tryFind (fst >> checkIfFieldTypeSupportsEquality tycon >> not) with
1396213962
| None ->
1396313963
assert false
13964-
failwith "unreachble"
13964+
failwith "unreachable"
1396513965
| Some (ty,_) ->
1396613966
if isTyparTy g ty then
1396713967
errorR(Error(FSComp.SR.tcStructuralEqualityNotSatisfied1(tycon.DisplayName,NicePrint.prettyStringOfTy denv ty),tycon.Range))
@@ -13976,7 +13976,7 @@ module TyconConstraintInference =
1397613976
match structuralTypes |> List.tryFind (fst >> checkIfFieldTypeSupportsEquality tycon >> not) with
1397713977
| None ->
1397813978
assert false
13979-
failwith "unreachble"
13979+
failwith "unreachable"
1398013980
| Some (ty,_) ->
1398113981
if isTyparTy g ty then
1398213982
warning(Error(FSComp.SR.tcNoEqualityNeeded1(tycon.DisplayName, NicePrint.prettyStringOfTy denv ty, tycon.DisplayName),tycon.Range))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp