mirror of
https://github.com/vlang/v.git
synced 2025-09-15 23:42:28 +03:00
-live: fix an info message
This commit is contained in:
parent
53b6c91d18
commit
382f85fa39
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ fn (p mut Parser) fn_decl() {
|
||||||
defer { p.fgenln('\n') }
|
defer { p.fgenln('\n') }
|
||||||
is_pub := p.tok == .key_pub
|
is_pub := p.tok == .key_pub
|
||||||
is_live := p.attr == 'live' && !p.pref.is_so && p.pref.is_live
|
is_live := p.attr == 'live' && !p.pref.is_so && p.pref.is_live
|
||||||
if p.attr == 'live' && p.first_run() {
|
if p.attr == 'live' && p.first_run() && !p.pref.is_live && !p.pref.is_so {
|
||||||
println('INFO: run `v -live program.v` if you want to use [live] functions')
|
println('INFO: run `v -live program.v` if you want to use [live] functions')
|
||||||
}
|
}
|
||||||
if is_pub {
|
if is_pub {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue