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

キャスト系バグのMatcherの修正 #45

Closed
Ran350 opened this issue Jan 17, 2023 · 0 comments · Fixed by #46
Closed

キャスト系バグのMatcherの修正 #45

Ran350 opened this issue Jan 17, 2023 · 0 comments · Fixed by #46

Comments

@Ran350
Copy link
Member

Ran350 commented Jan 17, 2023

以下の場合にマッチさせたいが、現状はマッチしない

long l = INT_MAX+1;  
int i = (time_t)l;

int i = (time_t)(long)(INT_MAX+1);

int i = return_timet_func();

以下の場合にマッチさせたくないが、現状はマッチする

int i2 = 2 + timet_to_long((time_t)1);
@Ran350 Ran350 changed the title 暗黙のMatcherの修正 暗黙キャストのMatcherの修正 Jan 17, 2023
@Ran350 Ran350 changed the title 暗黙キャストのMatcherの修正 キャスト系バグのMatcherの修正 Jan 17, 2023
@Ran350 Ran350 linked a pull request Jan 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant