未验证 提交 ce49ce83 编写于 作者: K Kevin Ransom (msft) 提交者: GitHub

Merge pull request #3946 from Microsoft/merges/master-to-dev15.6-20171115-080046

Merge master to dev15.6
...@@ -723,3 +723,17 @@ module Test = ...@@ -723,3 +723,17 @@ module Test =
let xs = [] let xs = []
""" """
=> [ 2, (5, 16) ] => [ 2, (5, 16) ]
[<Test>]
let ``a type from an auto open module is taken into account``() =
"""
module M1 =
[<AutoOpen>]
module AutoOpened =
type T() = class end
module M2 =
open M1
let _ = T()
"""
=> []
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册