Skip to content

Instantly share code, notes, and snippets.

@brianrourkeboll
Last active March 29, 2024 21:43
Show Gist options
  • Save brianrourkeboll/169502b7cd20ec41f84a59cc0559b4b4 to your computer and use it in GitHub Desktop.
Save brianrourkeboll/169502b7cd20ec41f84a59cc0559b4b4 to your computer and use it in GitHub Desktop.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="T1.fs" />
<Compile Include="T2.fs" />
</ItemGroup>
</Project>
namespace A
type T = T1
namespace A
type T = T2
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\A\A.fsproj" />
</ItemGroup>
</Project>
open A
let _ = T1 // FS0039: The value or constructor 'T1' is not defined.
let _ = T2 // FS0193: internal error: Object reference not set to an instance of an object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment