No solution for the kotlin test in JS and ```Name ...
# javascript
e
No solution for the kotlin test in JS and
Copy code
Name contains illegal chars that can't appear in JavaScript identifier
?
i
Not that I know of, I wish it just added underscores for you 😞
e
Oke, removing js from supported targets for now
i
you might be able to use
@JsName
to work around it? I haven't tried that though.
e
It would be a solution but have 50+ tests
Sure I can try find and replace with regex but not today
i
Right, not a great solution. Maybe there is another solution?
e
Hence my question - hope someone knows it
Big hope!
🤝 1
e
What's the name?
e
e
Oh I meant the name that you're trying to use and that gives you the error.
e
Ah 🙂
Copy code
fun `Test something is happening here` () {}
Whitespaces are problem
e
Ah yup, for functions unfortunately there is no solution that I know of. I was thinking about properties, as that's been fixed a while ago.
e
Thanks!