Custom Query (162 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 162)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#201 fixed ジェネリッククラスにおいて、実型パラメータに固定型が指定されたジェネリッククラスを継承すると、基底クラスの型パラメータが不正に置き換わってしまう dai dai
Description

例えば、下記のようなコードに問題が生じる。

#console
Class Foo<T>
Public
	Function GetTypeName( t As T ) As String
		Return t.GetType().Name
	End Function
End Class
Class Bar<T>
	Inherits Foo<String>
End Class
Dim bar = New Bar
System.Console.WriteLine( bar.GetTypeName( New String() ) )
System.Console.ReadLine()
#200 fixed ジェネリックインターフェイスを実装したジェネリッククラスのテンプレート展開に失敗する dai dai
Description

下記のようなコードがコンパイルできない。

Function GetHoge () As System.Collections.Generic.IList<DWord>
    GetHoge = New System.Collections.Generic.List<DWord>
End Function
#192 fixed 文字列中に括弧があるときにうまく解析されないことがある イグトランス (egtra) イグトランス (egtra)
Description

次のコードをコンパイルさせると、コンパイラが無限ループに陥ってしまいます。

Dim sb = New System.Text.StringBuilder
sb.Append(" (Error code: ").Append(")")

(Error code: ")に文字列が切り出されてGetStringInPareの第2引数ReadBufferに渡されてしまい、IsStr == 1となってreturn 0;に行ってしまうため、無限ループを引き起すところまで分かりました。" (Error code: "と閉じ括弧")"と解析されるように修正すればよいと思います。

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