Skip to content

Commit

Permalink
Enabled type propagation for modulo operator
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmaisch committed Mar 3, 2024
1 parent 6af074d commit 15758bf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ abstract class Language<T : LanguageFrontend<*, *>> : Node() {
}
"-",
"*",
"/" -> arithmeticOpTypePropagation(operation.lhs.type, operation.rhs.type)
"/",
"%", -> arithmeticOpTypePropagation(operation.lhs.type, operation.rhs.type)
"&",
"|",
"^",
Expand Down

0 comments on commit 15758bf

Please sign in to comment.