livebook-dev / kino

Client-driven interactive widgets for Livebook
Apache License 2.0
361 stars 60 forks source link

Warning when code inside remote execution cell contains a string using " " #464

Closed hugobarauna closed 3 weeks ago

hugobarauna commented 4 weeks ago

When I run that code inside the remote execution smart cell:

"some string"

Elixir emits a warning saying:

warning: using \" to escape the closing of an uppercase sigil is deprecated, 
please use another delimiter or a lowercase sigil instead

Here's the screenshot:

CleanShot 2024-08-16 at 15 23 23

And here's a screenshot of the code generated by the smart cell:

CleanShot 2024-08-16 at 15 25 48

I think that's because of a deprecation introduced in Elixir 1.17.

I think we can fix the deprecation.