Steven Hé (Sīchàng)

Results 122 comments of Steven Hé (Sīchàng)

> To my knowledge, there's still no way for a procedural macro to receive a `const` expression already evaluated. That was my guess as of why `lazy-regex` only supports literals....

Yes, exactly. As a simplest example from my codebase: ```rust pub const AS_SET_BASE: &str = formatcp!("(?:as-{}|{})", OBJECT_NAME, PEERAS); ``` is expanded to 😱 ```rust pub const AS_SET_BASE: &str = ::const_format::pmr::__AssertStr...

![Screen Shot](https://user-images.githubusercontent.com/84777573/230721366-4ef05e45-6496-42bc-9e0f-19377f623575.png) Is this related? Also on Neovim.

As an aside, is it worth it to move to Helix for Phoenix development? Thanks.

It is beneficial to preserve the original escapes (and not add more) if using as a formatter. I guess, by comparing the length of `Event::Text`'s content and the `Range` length,...

The question is, when I need to run a one-off Python script, I don't want to rye init a project—I need a global venv—so how do I do that with...

Shit, this is probably impossible: https://github.com/flutter/flutter/issues/75528 Then, this is not a bug… Sorry for that.

This may be possible if we don't mind creating tons of garbage. Dart does not support hot reloading FFI libraries, but does it support loading *new* FFI libraries? If so,...

> * About reloading FFI libraries: […] I really don't know about this. Loading an FFI library should be just reading and parsing something into memory and pointing stuff to...