mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
checker: add error for fn f() Struct { return &Struct{} }
(#6019)
This commit is contained in:
parent
81f8e910e6
commit
9c9533dad9
12 changed files with 44 additions and 18 deletions
|
@ -30,5 +30,5 @@ pub fn do_work(){
|
|||
}
|
||||
|
||||
pub fn get_subscriber() eventbus.Subscriber {
|
||||
return eb.subscriber
|
||||
return *eb.subscriber
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue