mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
all: reimplement struct embedding with methods (#7506)
This commit is contained in:
parent
7e8add24dd
commit
b27f5c378c
15 changed files with 411 additions and 239 deletions
|
@ -1209,7 +1209,7 @@ mut:
|
|||
|
||||
struct Button {
|
||||
Widget
|
||||
title string
|
||||
title string
|
||||
}
|
||||
|
||||
mut button := Button{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue