You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Fable.Transforms/FSharp2Fable.Util.fs
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2595,16 +2595,19 @@ module Util =
2595
2595
letfailReplace(com:IFableCompiler)ctx r (info:Fable.ReplaceCallInfo)(thisArg:Fable.Expr option)=
2596
2596
letmsg=
2597
2597
if info.DeclaringEntityFullName.StartsWith("Fable.Core.", StringComparison.Ordinal)then
2598
-
$"{info.DeclaringEntityFullName}.{info.CompiledName} is not supported, try updating fable tool"
2598
+
$"%s{info.DeclaringEntityFullName}.%s{info.CompiledName} is not supported, try updating fable tool"
2599
2599
else
2600
2600
com.WarnOnlyOnce(
2601
2601
"Fable only supports a subset of standard .NET API, please check https://fable.io/docs/dotnet/compatibility.html. For external libraries, check whether they are Fable-compatible in the package docs."
2602
2602
)
2603
2603
2604
-
$"""{info.DeclaringEntityFullName}.{info.CompiledName}{if Option.isSome thisArg then
2605
-
""
2606
-
else
2607
-
" (static)"} is not supported by Fable"""
2604
+
letstaticSuffix=
2605
+
if Option.isSome thisArg then
2606
+
""
2607
+
else
2608
+
" (static)"
2609
+
2610
+
$"%s{info.DeclaringEntityFullName}.%s{info.CompiledName}%s{staticSuffix} is not supported by Fable"
0 commit comments