Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "注釈処理で生成されるコードが冗長なジェネリクスを含む問題を修正" #111

Merged
merged 1 commit into from Jan 3, 2016

Conversation

nakamura-to
Copy link
Member

This reverts commit b676d0a.

nakamura-to added a commit that referenced this pull request Jan 3, 2016
Revert "注釈処理で生成されるコードが冗長なジェネリクスを含む問題を修正"
@nakamura-to nakamura-to merged commit b4ae43d into master Jan 3, 2016
@nakamura-to nakamura-to added the bug label Jan 3, 2016
@nakamura-to nakamura-to added this to the 2.6.1 milestone Jan 3, 2016
@backpaper0
Copy link
Member

これはどういったバグだったのでしょうか?

@nakamura-to
Copy link
Member Author

正確にはDomaのバグというよりもEclipseのバグです。
Eclipseでは特定のケースにおいてジェネリクスの型推論に失敗します。
例えば、下記のDaoメソッドから注釈処理で生成されるコードはEclipse上でコンパイルが通りません。

@Select
int count();

Doma 2.6.0 と Eclipse 4.4 / 4.5 で現象を確認できます。

@backpaper0
Copy link
Member

なるほど!
ご回答ありがとうございます。

@nakamura-to nakamura-to deleted the avoid-type-inference branch January 4, 2016 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants