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

Commit76871e6

Browse files
committed
Add tests for multitargeting scenarios
1 parent3d6cfcf commit76871e6

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
moduleTest
2+
3+
let inlineinit1 n f= Array.init n f
4+
letinit2 n f= Array.init n f
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#if INTERACTIVE
2+
#r"author.dll"
3+
#else
4+
moduleFoo
5+
#endif
6+
7+
Test.init14(fun _->4.)|> printfn"%A"
8+
Test.init24(fun _->4.)|> printfn"%A"
9+
10+
#if INTERACTIVE
11+
#q;;
12+
#endif

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ NOMONOSOURCE=E_BadPathToFSharpCore.fsx SCFLAGS="--noframework -r %W
66
NOMONOSOURCE=E_UseBinaryIncompatibleLibrary.fs SCFLAGS="--noframework -r ..\\Common\\FSharp.Core.dll"# E_UseBinaryIncompatibleLibrary.fs
77

88
ReqOpenSOURCE=dummy.fs POSTCMD="\$FSI_PIPE --nologo --quiet --exec .\\MultiTargetMatrix.fsx QuotedCommaTypeName_author.fs QuotedCommaTypeName_consumer.fsx 0,8"# QuotedCommaTypeName
9+
ReqOpenSOURCE=dummy.fs POSTCMD="\$FSI_PIPE --nologo --quiet --exec .\\MultiTargetMatrix.fsx InlineCoreResource_author.fs InlineCoreResource_consumer.fsx"# InlineCoreResource

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp