[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 267105] Writing an Closure Function "construct" and then
From:       Tobias Hochgürtel  <tobias.hochguertel () online ! de>
Date:       2011-02-26 1:01:45
Message-ID: 20110226010145.E35CC7DFB4 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=267105





--- Comment #2 from Tobias Hochgürtel <tobias hochguertel online de>  2011-02-26 02:01:45 ---
Here the following PHP-Code reproduces the Error/Crash for me, 

<CODE>
<?php

class A 
{
    public function foo()
    {
        return function ($v) use () { return $v > 2; };
    }
}

?>
</CODE>

If I write the Lambda/Closure Function with Empty Part inside of the Braces for
"use", kdevelop-4.3 (PHP) crashs directly.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic