Kevin Ransom
Kevin Ransom
@BentTranberg fixing this would be a breaking change. So we would probably need to add this as a disabled by default warning, then add to the templates a warnon:xxxx to...
It's interesting, if the attributes are in the same source file it complains. If they are different it doesn't and takes the attribute value from the first file encountered.
Brent --- no it should be fixed. Having the attribute based on file ordering is confusing ... as you noted ... and something else that would change if we ever...
The fix, if we do it will be to add a warning, off by default. The project templates will be updated to enable it by default for new projects. It...
@baronfel AssemblyInformationalAttribute, AssemblyTitle is not marked with the AttributeUsage AllowMultiple=false. The default value for that is **false**. Sources here: https://github.com/dotnet/corefx/blob/103639b6ff5aa6ab6097f70732530e411817f09b/src/Common/src/CoreLib/System/Reflection/AssemblyInformationalVersionAttribute.cs https://github.com/dotnet/corefx/blob/103639b6ff5aa6ab6097f70732530e411817f09b/src/Common/src/CoreLib/System/Reflection/AssemblyTitleAttribute.cs https://github.com/dotnet/corefx/blob/103639b6ff5aa6ab6097f70732530e411817f09b/src/Common/src/CoreLib/System/Reflection/AssemblyProductAttribute.cs I'm going to assume the others follow the...
@baronfel, apparently reading C# is too hard for me: The default: is actually false, so it would seem there is a compiler bug., that we should fix, unfortunately we will...
I think is just a bug: The compiler is fine with: ```` module Nested = // File.Nested.foo let foo = 123 #if SOMEDIRECTIVE #endif // looks like File.Nested.bar, but is...
@Martin521 I believe the compiler does the right thing: ```` c:\temp>type C:\Users\kevinr\source\repos\ConsoleApp6\ConsoleApp6\Program.fs //#nowarn "FS0020" let something = 2+2 // => FS0020: This expression should have type 'unit' "hello" ```` produces...
@ericstj that is actually a very interesting question. Ideally the compiling SDK should determine the FSharp.Core package, because the compiler and F# Core are co-developed, new language features almost always...
@Lanayx This doesn't have to be in a Directory.Build.props it can be but shouldn't be necessary. true