all: reimplement struct embedding with methods (#7506)

This commit is contained in:
Daniel Däschle 2020-12-23 19:12:49 +01:00 committed by GitHub
parent 7e8add24dd
commit b27f5c378c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 411 additions and 239 deletions

View file

@ -1209,7 +1209,7 @@ mut:
struct Button {
Widget
title string
title string
}
mut button := Button{