https://bugzilla.novell.com/show_bug.cgi?id=825263 https://bugzilla.novell.com/show_bug.cgi?id=825263#c0 Summary: YaST function type matching misconsiders the argument types Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jreidinger@suse.com ReportedBy: mvidner@suse.com QAContact: jsrain@suse.com Found By: --- Blocker: ---
From a proposed changelog to the fix (https://github.com/yast/yast-core/commit/7fb894662dba29389bc553ee3ffdbac9b68... )
Fixed function type matching to be contravariant for arguments (return type has always been covariant, correctly). Interface expected to handle "any" argument will no longer accept implementations handling only a specific subtype. Conversely, interfaces expected to handle a "string" will also accept an implementation handling "any". Affects the "is" builtin; breaks *-bindings relying on the bug! TODO: fill in the actual symptoms and occurrences of the bug. -- 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.