1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: notice unnecessary parenthesis of reference (fix #11179) (#13739)

This commit is contained in:
yuyi
2022-03-15 22:11:53 +08:00
committed by GitHub
parent 92cafd8851
commit 49155ec312
6 changed files with 116 additions and 5 deletions

View File

@@ -144,7 +144,7 @@ fn main() {
// TTF render 0 Frame counter
app.ttf_render << &ttf.TTF_render_Sokol{
bmp: &ttf.BitMap{
tf: &(app.tf[0])
tf: &app.tf[0]
buf: unsafe { malloc_noscan(32000000) }
buf_size: (32000000)
color: 0xFF0000FF
@@ -155,7 +155,7 @@ fn main() {
// TTF render 1 Text Block
app.ttf_render << &ttf.TTF_render_Sokol{
bmp: &ttf.BitMap{
tf: &(app.tf[1])
tf: &app.tf[1]
// color : 0xFF0000_10
// style: .raw
// use_font_metrics: true
@@ -164,7 +164,7 @@ fn main() {
// TTF mouse position render
app.ttf_render << &ttf.TTF_render_Sokol{
bmp: &ttf.BitMap{
tf: &(app.tf[0])
tf: &app.tf[0]
}
}
// setup sokol_gfx