Build and run the stock dotnet new console F# template
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- fsharp
- Área
- build-system, compilers
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- F#
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TheAngryByrd/fsharp2
-
wayfinder:task
Dificultad 4/5 3-5 días Aptitud para principiantes 62/100
TheAngryByrd/fsharp2#46 ·
-
wayfinder:task
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
TheAngryByrd/fsharp2#42 ·
-
wayfinder:task
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
TheAngryByrd/fsharp2#41 ·
-
wayfinder:task
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
TheAngryByrd/fsharp2#40 ·
-
wayfinder:task
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
TheAngryByrd/fsharp2#39 ·
Todos los issues de TheAngryByrd/fsharp2
Issues similares
-
The Recommended preset turns on Import Uno DSP, which only works with the Material themePosiblemente ocupada @agneszitte la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
unoplatform/uno.templates#2388 ·
Los mantenedores suelen responder en 1 día
-
area:ci area:security phase:dev priority:p1 type:chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
BlackLabelHQ/SymphonyRecomp#146 ·