Opened 15 years ago

#239 new バグ

オブジェクト参照からインタフェース参照へキャスト可能にする

Reported by: イグトランス (egtra) Owned by: イグトランス (egtra)
Priority: 中-major Milestone: AB5 CP6
Component: Compiler Version:
Keywords: Cc:

Description

次のコードがコンパイルできない問題を修正します。 {{{Class Hoge

Implements IUnknown

Public

Function AddRef() As DWord End Function

Function Release() As DWord End Function

Function QueryInterface(ByRef riid As IID, ByRef pv As Any) As HRESULT End Function

End Class

Dim o = New Hoge Dim u = o As IUnknown '"Operator As" は定義されていません。}}}

Change History (0)

Note: See TracTickets for help on using tickets.