mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: workaround -autofree codegen bug with nested fn calls on macos
This commit is contained in:
parent
8f3646cb81
commit
9315154201
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ pub fn (mut app App) new_article() vweb.Result {
|
|||
['/articles'; get]
|
||||
pub fn (mut app App) articles() vweb.Result {
|
||||
articles := app.find_all_articles()
|
||||
return app.json(json.encode(articles))
|
||||
json_result := json.encode(articles)
|
||||
return app.json(json_result)
|
||||
}
|
||||
|
||||
fn (mut app App) time() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue