You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
related to #25722 We could potentially extend this if unsafe is disallowed in the project to offer both in one fix (Add unsafe block and allow unsafe in this project) but given that unsafe code is not very common and we don't really encourage it either, I'm actually OK with this being a 2-step fix (Add unsafe block + Allow unsafe code in this project on the added block) and having these features completely unrelated.
I agree with Cyrus. The unsafe project fixer makes sense to me because the pain of going into project settings is high.
On the other hand, the fixer to add unsafe keyword or block in the current method isn't nearly as valuable, in my opinion.
We could provide a code fix to either:
Possibly all 3 options.
related to #25722 We could potentially extend this if unsafe is disallowed in the project to offer both in one fix (Add unsafe block and allow unsafe in this project) but given that unsafe code is not very common and we don't really encourage it either, I'm actually OK with this being a 2-step fix (Add unsafe block + Allow unsafe code in this project on the added block) and having these features completely unrelated.
Tagging @jcouv @CyrusNajmabadi
The text was updated successfully, but these errors were encountered: