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

Commit6abbbf5

Browse files
committed
Add a test
1 parent07e08e2 commit6abbbf5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// #Warnings
2+
//<Expects status="Error" span="(6,9)" id="FS3217">This value is not a function and cannot be applied. But the given value has an indexer. Did you intend to call obj.[index] instead of obj[index]?</Expects>
3+
//<Expects status="Error" span="(8,9)" id="FS3217">This value is not a function and cannot be applied.$</Expects>
4+
5+
letd=[1,1]|> dict
6+
lety= d[1]
7+
8+
letz= d[|1|]
9+
10+
exit0

‎tests/fsharpqa/Source/Warnings/env.lst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
SOURCE=AssignmentOnImmutable.fs # AssignmentOnImmutable.fs
5656
SOURCE=SuggestFieldsInCtor.fs # SuggestFieldsInCtor.fs
5757
SOURCE=FieldSuggestion.fs # FieldSuggestion.fs
58+
SOURCE=SuggestToUseIndexer.fs # SuggestToUseIndexer.fs
5859
SOURCE=RefCellInsteadOfNot.fs # RefCellInsteadOfNot.fs
5960
SOURCE=RefCellInsteadOfNot2.fs # RefCellInsteadOfNot2.fs
6061
SOURCE=UpcastInsteadOfDowncast.fs # UpcastInsteadOfDowncast.fs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp