[Feature] Compiler flags for any block
未關閉
compiler
- 主要語言
- Rust
- 星號
- 5.2k
- 分支
- 145
- 平均合併
- 5 天 3 小時
- 30 天內合併 PR
- 7
描述
I think using compiler flags only for functions is too restrictive and should be broaden to all blocks.
For example this code:
```ab
main {
let x = "asd"
echo x as Num
}
```
Raises warning that it's not recommended to do such a cast and recommends adding `allow_absurd_cast` compiler flag for suppression, but it's not possible currently
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。