https://bugzilla.novell.com/show_bug.cgi?id=205663 Summary: YCP (yast2-core) - Reference to Integer doesn't work Product: openSUSE 10.2 Version: Alpha 4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com See this example: { void ChangeInteger (integer & in) { y2milestone("Changing from %1", in); in = 2; } integer in1 = 1; y2milestone("Old Integer: %1", in1); ChangeInteger(in1); y2milestone("New Integer: %1", in1); } It should work but ycpc reports: parsing 'ref_int.ycp' ref_int.ycp:4 [Parser] type mismatch in assignment ref_int.ycp:4 [Parser] Expected 'integer &', seen 'const integer'. Error This works for 'map' and 'string' (both tested), I hope it works for the other types as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.