Custom Query (162 matches)
Results (25 - 27 of 162)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#131 | fixed | Superが機能しなくなっている | ||
Description |
Superを使っても基底クラスのではなく、派生クラス自身のメソッドが呼ばれてしまいます。再帰呼出となるため、(おそらく)スタックオーバーフローを起こすまでそれが続いてしまいます。 #console Class Base Public Sub Proc() Print "Base.Proc" End Sub End Class Class Derived Inherits Base Public Sub Proc() Print "Derived.Proc" Super.Proc() End Sub End Class Dim d = New Derived d.Proc() |
|||
#133 | fixed | ProtectedメソッドでSuperが使用できない | ||
Description |
次のコードのSuper.doHoge()の行で「Protectedメンバ関数 "doHoge" を呼び出すことはできません」というエラーになってしまいます。 #console Class Base Public Sub Hoge() doHoge() End Sub Protected Virtual Sub doHoge() Print "Base.Proc" End Sub End Class Class Derived Inherits Base Protected Override Sub doHoge() Print "Derived.Proc" Super.doHoge() End Sub End Class Dim d = New Derived d.Hoge() Sleep(-1) |
|||
#134 | fixed | 存在しないジェネリクス型の指定でコンパイラが強制終了する。 | ||
Description |
次のコードをコンパイルすると、「StringToType内のジェネリクスクラス取得部分でpGenericClassがNULL」という内容のメッセージボックスが表示された後、Visual C++ Runtime Errorのメッセージボックスが表示され、コンパイラが強制終了させられる。 Dim x = New Lis<Long> ここはユーザフレンドリに、強制終了することなくコンパイラエラーとしてほしい。 |
Note:
See TracQuery
for help on using queries.