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

Commit5fc4c5c

Browse files
committed
Updating expected error strings on a few tests
1 parentb1c03b6 commit5fc4c5c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/MemberDeclarations/E_byref_two_arguments_curried.fsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Regression test for FSHARP1.0:5580
33
// disallow curried byref parameters
44
// Out arguments - curried
5-
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional' or 'byref' arguments$</Expects>
5+
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition' or 'byref' arguments$</Expects>
66
typeMisc2()=
77
static memberM(foo:int byref)(bar:int byref)= foo<-10

‎tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/MemberDeclarations/E_optional_two_arguments_curried.fsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Regression test for FSHARP1.0:5580
33
// disallow curried byref parameters
44
// optional arguments - curried
5-
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional' or 'byref' arguments$</Expects>
5+
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition' or 'byref' arguments$</Expects>
66
typeMisc0()=
77
static memberM(?foo:int)(?bar:int)=10

‎tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/MemberDeclarations/E_out_two_arguments_curried.fsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Regression test for FSHARP1.0:5580
33
// disallow curried byref parameters
44
// Out arguments - curried
5-
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional' or 'byref' arguments$</Expects>
5+
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition' or 'byref' arguments$</Expects>
66
typeMisc2()=
77
static memberM([<System.Runtime.InteropServices.OutAttribute>]foo:int byref)([<System.Runtime.InteropServices.OutAttribute>]bar:int byref)= foo<-10

‎tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/MemberDeclarations/E_paramarray_two_arguments_curried.fsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Regression test for FSHARP1.0:5580
33
// disallow curried byref parameters
44
// ParamArray arguments - non curried
5-
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional' or 'byref' arguments$</Expects>
5+
//<Expects status="error" span="(7,19-7,20)">Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition' or 'byref' arguments$</Expects>
66
typeMisc0()=
77
static memberM([<System.ParamArray>]args:string[])([<System.ParamArray>]argc:int)= args.Length+ argc

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp