Custom Query (162 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (124 - 126 of 162)

Ticket Owner Reporter Resolution Summary
#131 dai イグトランス (egtra) 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()
#132 dai OverTaker fixed メソッド内でジェネリックなクラスが定義できない
Description

"StringToType内のジェネリクスクラス取得部分でpGenericClassがNULL"というエラーが発生する

Imports System.Collections.Generic

Class MyClass
Public
	Function Method() As Long
		Dim list As List<Object>
	End Function
End Class

同じファイルにListを定義すれば問題ないことから、ライブラリからリンクしているものが発生する模様。

#133 dai イグトランス (egtra) 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)
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.