Fix faulty compression
`String(x + 5)` is not always the same as `x + "5"`. Overlooked that. :-( Close #350
This commit is contained in:
@@ -54,15 +54,13 @@ strings_concat: {
|
||||
input: {
|
||||
f(
|
||||
String(x + 'str'),
|
||||
String('str' + x),
|
||||
String(x + 5)
|
||||
String('str' + x)
|
||||
);
|
||||
}
|
||||
expect: {
|
||||
f(
|
||||
x + 'str',
|
||||
'str' + x,
|
||||
x + '5'
|
||||
'str' + x
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user