View Issue Details

IDProjectCategoryView StatusLast Update
0000473Gameplay + OpenGL[All Projects] Bugpublic2017-03-28 17:01
ReporterZZYZX 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSWindowsOS Version7
Summary0000473: It's not possible to pass struct function argument to another function
DescriptionThis code won't compile:

struct ElementEvent ui {}

    void A(ElementEvent ev)
    {
        B(ev);
    }
    
    void B(ElementEvent ev)
    {
        
    }


I currently worked around it by manually copypasting the struct copy code (since even things like ElementEvent.CopyFrom(...) won't work due to this bug...).
TagsZScript

Relationships

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-03-24 11:41 ZZYZX New Issue
2017-03-24 11:41 ZZYZX Tag Attached: ZScript
2017-03-28 17:01 Graf Zahl Priority high => normal
2017-03-28 17:01 Graf Zahl Status new => resolved
2017-03-28 17:01 Graf Zahl Resolution open => fixed