Build and run the stock dotnet new console F# template
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- fsharp
調査の方向性
Start with the owning issues #29, #31, #32, #33, #35, #38, and #40, then inspect the generated Program.fs, project file, and Debug/Release CoreCompile paths. The work is done when the unchanged dotnet new console -lang F# template builds through the packaged FSharp2 MSBuild integration, prints Hello from F#, exits with code 0, and its positive and negative conformance diagnostics match the Compatibility Oracle.
索引モデルが issue の本文から書いたものです。
説明
Parent: #8
Blocked by: #29, #31, and #32
Outcome
Build and run the unchanged dotnet new console -lang F# template through FSharp2 by MSBuild CoreCompile. This is a small generic tracer bullet. It sits before the IcedTasks milestone in #42.
The .NET 10.0.110 SDK generates this Program.fs:
// For more information see https://aka.ms/fsharp-console-apps
printfn "Hello from F#"
The project file has OutputType=Exe, TargetFramework=net10.0, and one Compile item. It has no [<EntryPoint>], no module line, and no open.
Current state (local master at 13ddc13)
- The generated program is rejected. The error is
the value 'printfn' is not a static-member parameter, receiver, or local binding. - A named module with
[<EntryPoint>]andprintfn "%s" "Hello, world!"builds withfsc2. The program prints the same output as the Compatibility Oracle build and exits with code 0. - #29 slice 27 routes an implicit module with
opendeclarations through the new parser. - The MSBuild route accepts
--tailcalls-again (merged with the PR #43 integration).
Acceptance criteria
- The unchanged template compiles through the FSharp2 NuGet package on the Debug and Release
CoreCompilepaths, with no source or project edits. - The program prints
Hello from F#and exits with code 0, the same as the Compatibility Oracle build. - The implicit module and the implicit entry point come from general F# rules:
- The module name comes from the file name.
- The top-level code of the last file in an executable becomes the entry point.
printfnwith a string literal resolves through general name resolution and format-string typing, not through a special case for this template.- Positive and negative conformance rows cover each new construct in its owning subsystem issue.
- Diagnostics for the negative rows match the Compatibility Oracle.
Work by owning issue
- #29: route a file whose body is only top-level expressions through the new parser.
- #31: resolve
printfnfrom the auto-opened FSharp.Core modules. - #32 and #33: type a format-string literal as
TextWriterFormatand the application ofprintfn. - #35 and #38: lower top-level
docode in the last file of an executable to the implicit entry point. - #40: prove the unchanged template through the packaged MSBuild integration.
This issue inherits the corpus-neutral acceptance policy in #8.
- 主要言語
- F#
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TheAngryByrd/fsharp2 のほかの issue
-
wayfinder:task
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
TheAngryByrd/fsharp2#46 ·
-
wayfinder:task
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
TheAngryByrd/fsharp2#42 ·
-
wayfinder:task
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
TheAngryByrd/fsharp2#41 ·
-
wayfinder:task
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
TheAngryByrd/fsharp2#40 ·
-
wayfinder:task
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
TheAngryByrd/fsharp2#39 ·
TheAngryByrd/fsharp2 の issue をすべて見る
似ている issue
-
area:render needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bherbruck/solvecraft#13138 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ccch1mneyyy/dsh-Go#728 ·
メンテナーはふだん 1 日以内に返信
-
b-ber/build bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
triplecanopy/b-ber#731 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
Sample solution restore fails with NU1109 (Microsoft.Extensions.Logging.Abstractions downgrade)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ardalis/CleanArchitecture#1150 ·
メンテナーはふだん 1 日以内に返信