Matt Warren

Results 19 comments of Matt Warren
trafficstars

Is this a real type change of the local variable (which implies either a change to the runtime, IL or lots of injected type conversions each time its referenced) or...

Can someone explain how having a bottom/never type would benefit the language and its users?

@orthoxerox Are functions that are known not to return common enough that we'd need special language syntax to call them out? As for your #2, the compiler can model these...

@gafter assume I'm a user of generics, and writing a generic method or class. How is a bottom type going to affect the code I write? Where does it show...

The machine that only as vs 2015 probably needs the redirects that use the 14.x version numbers. VS 2017 msbuild uses the 15.x version numbers.

@jamesqo Except using this LazyInitializer method has a downside (unless the initializer method is static) because you'll be creating a delegate instance each time the property is accessed. What you...

@jamesqo That delegate caching is for static delegates where they are not being cached in some circumstances today. It is unlikely that the `InitializeFoo` method is static.

Purpose.. probably to satisfy a desire for a unit type/value that some functional languages have (as opposed to 'void' that C#/.net has), and some language's common convention of using empty...

I have not looked at it yet, but my guess is that the translation of the association is being removed by one of the steps that tries to simplify the...