Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
alancai98 committed Jan 6, 2025
1 parent 93433f6 commit 71fa7c4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ import java.util.Random
* This class tests evaluation-time behavior for integer and integer overflows that existed *prior* to the
* introduction of StaticType. The behavior described in these tests is still how we should handle integer arithmetic
* in the absence of type information.
*
* TODO int overflow behavior is confusing. Should we
* - Overflow (no error)
* - Upcast to long (no error)
* - Error
*/
class EvaluatingCompilerIntRandomizedTest {
companion object {
Expand Down

0 comments on commit 71fa7c4

Please sign in to comment.