Custom Query (162 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 162)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#131 fixed Superが機能しなくなっている dai イグトランス (egtra)
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が使用できない dai イグトランス (egtra)
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 存在しないジェネリクス型の指定でコンパイラが強制終了する。 dai イグトランス (egtra)
Description

次のコードをコンパイルすると、「StringToType内のジェネリクスクラス取得部分でpGenericClassがNULL」という内容のメッセージボックスが表示された後、Visual C++ Runtime Errorのメッセージボックスが表示され、コンパイラが強制終了させられる。

Dim x = New Lis<Long>

ここはユーザフレンドリに、強制終了することなくコンパイラエラーとしてほしい。

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.