Skip to content

Fable 5.0.0-alpha.4 JSX.jsx problem with not recognizing interpolated string #3999

@halcwb

Description

@halcwb

Description

The code from in this repository: 9dee1b64a0f98b41e42242dfa4fa5e60d4961f5a

works with the fable 4 releases but not with the latest 5.0.0-alpha.4 release

client: ./App.fs(270,12): (279,19) error FABLE: Expecting a string literal or interpolation without formatting

Repro code

  • See link to repository.
  • Clone the repository
  • Install the latest alpha version fable tool
  • Start with dotnet run
  • Compare with the current 4.x tool

Expected and actual results

The JSX.jsx templates to be recognized as interpolated strings

Related information

.NET SDK:
Version: 9.0.101
Commit: eedb237549
Workload version: 9.0.100-manifests.3068a692
MSBuild version: 17.12.12+1cce77968

Runtime Environment:
OS Name: Mac OS X
OS Version: 12.7
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/sdk/9.0.101/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.0
Architecture: x64
Commit: 9d5a6a9aa4

.NET SDKs installed:
6.0.302 [/usr/local/share/dotnet/sdk]
6.0.403 [/usr/local/share/dotnet/sdk]
7.0.100 [/usr/local/share/dotnet/sdk]
8.0.100 [/usr/local/share/dotnet/sdk]
9.0.100 [/usr/local/share/dotnet/sdk]
9.0.101 [/usr/local/share/dotnet/sdk]

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions