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

all: change .ReturnType and .Type to .return_type and .typ (#6494)

This commit is contained in:
Daniel Däschle
2020-09-28 06:13:38 +02:00
committed by GitHub
parent 71e1ca72ec
commit 06cade6c31
8 changed files with 29 additions and 29 deletions

View File

@ -24,7 +24,7 @@ fn (e Employee) to_json() string {
$for field in Employee.fields {
d := e.$(field.name)
$if field.Type is JobTitle {
$if field.typ is JobTitle {
mp[field.name] = json.encode<int>(d)
} $else {
mp[field.name] = d