Unable to use weak variables in structs

Thanks, logged as bugs://82444