开发者

How to use a method that has the same name as a language keyword in F#?

开发者 https://www.devze.com 2023-01-25 23:07 出处:网络
I was on the way build my App on F#, but no开发者_开发百科w I meet the situation : the library I import to use in F# is too big and can\'t be re-factor method and compile in anyway to change its metho

I was on the way build my App on F#, but no开发者_开发百科w I meet the situation : the library I import to use in F# is too big and can't be re-factor method and compile in anyway to change its method name. But the F# keyword type is match with the one I need. What could I do to use it normally ?


You need to escape it like this:

``type``
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号