function test() {
console.log("ret", 123 / 0);
}
test();
The name row doesn't make too much sense - it's an artifact of only checking function arguments from the beginning and a division isn't exactly a function with argument names (I guess we could call it dividor in case of 123 / 0, but we also check for bigint/number incompatibility e.g.)
Fixes: #147
The division errors in UI looks like this:
If there is more context available, we use it:
The
name
row doesn't make too much sense - it's an artifact of only checking function arguments from the beginning and a division isn't exactly a function with argument names (I guess we could call it dividor in case of123 / 0
, but we also check for bigint/number incompatibility e.g.)