Open vilinski opened 4 years ago
Btw ... just replacing string i
with i.ToString()
makes it work
I would complain also about the Missing Timezone 🌏 implementation!
open System
let missing =
TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time");
Compilation succeeded.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TimeZoneNotFoundException: Couldn't read time zone file /usr/share/zoneinfo/Central Standard Time ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/usr/share/zoneinfo/Central Standard Time".
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) <0x3922820 + 0x00258> in <b63d6248980146f38423574ef06785b2>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) <0x395bdb0 + 0x00032> in <b63d6248980146f38423574ef06785b2>:0
at System.IO.File.OpenRead (System.String path) <0x395bd70 + 0x0000e> in <b63d6248980146f38423574ef06785b2>:0
at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x395bbd8 + 0x00014> in <b63d6248980146f38423574ef06785b2>:0
--- End of inner exception stack trace ---
The following code brings the compiler error: