【消しゴム】MONOを使ってみるスレ3【じゃない】at TECH
【消しゴム】MONOを使ってみるスレ3【じゃない】 - 暇つぶし2ch150:デフォルトの名無しさん
10/03/25 04:48:24
144じゃないけどtrunkのgmcsで試してみたら確かにエラーになった。

// a.cs
partial class A<T>
{
partial class B<T>{}
}

// b.cs
partial class A<T>
{
partial class B<T>{}
}

$ gmcs -t:library a.cs b.cs
a.cs(3,15): warning CS0693: Type parameter `T' has the same name as the type parameter from outer type `A<T>'
a.cs(1,15): (Location of the symbol related to previous warning)
b.cs(3,19): error CS0589: Internal compiler error during parsing
Compilation failed: 1 error(s), 1 warnings


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch