Custom Query (162 matches)
Results (16 - 18 of 162)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#201 | fixed | ジェネリッククラスにおいて、実型パラメータに固定型が指定されたジェネリッククラスを継承すると、基底クラスの型パラメータが不正に置き換わってしまう | ||
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 | ジェネリックインターフェイスを実装したジェネリッククラスのテンプレート展開に失敗する | ||
Description |
下記のようなコードがコンパイルできない。 Function GetHoge () As System.Collections.Generic.IList<DWord> GetHoge = New System.Collections.Generic.List<DWord> End Function |
|||
#192 | fixed | 文字列中に括弧があるときにうまく解析されないことがある | ||
Description |
次のコードをコンパイルさせると、コンパイラが無限ループに陥ってしまいます。 Dim sb = New System.Text.StringBuilder sb.Append(" (Error code: ").Append(")") (Error code: ")に文字列が切り出されてGetStringInPareの第2引数ReadBufferに渡されてしまい、IsStr == 1となってreturn 0;に行ってしまうため、無限ループを引き起すところまで分かりました。" (Error code: "と閉じ括弧")"と解析されるように修正すればよいと思います。 |
Note:
See TracQuery
for help on using queries.