New visualizer
This commit is contained in:
@@ -477,6 +477,10 @@ begin
|
||||
if B.Kind = stUnknown then
|
||||
exit(A);
|
||||
|
||||
// all operations involving void result void
|
||||
if (A.Kind = stVoid) or (B.Kind = stVoid) then
|
||||
exit(TTypes.Void);
|
||||
|
||||
// Standard Numeric promotion rule: Float wins
|
||||
if (A.Kind = stFloat) and (B.Kind = stFloat) then
|
||||
exit(TTypes.Float);
|
||||
|
||||
Reference in New Issue
Block a user