Bug 436312 - Highlighing disappear on broken code with nested try/catch
Summary: Highlighing disappear on broken code with nested try/catch
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 12:55 EDT by Dawid Pakula CLA
Modified: 2020-05-14 11:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Pakula CLA 2014-06-01 12:55:23 EDT
Code before edit:
class test
{
    public function test()
    {
        try {

            try {
                whatEver();
            } catch (\Exception $e2) {}
        } catch(\Exception $e) {
        }
        return null;
    }
}

Code after edit:
class test
{
    public function test()
    {
        try {
            $em-> // try run CA here
            try {
                whatEver();
            } catch (\Exception $e2) {}
        } catch(\Exception $e) {
        }
        return null;
    }
}

Result:
File haven't any highlighting.

Expected:
Only second try{} should be broken.
Comment 1 Dawid Pakula CLA 2018-03-05 03:43:43 EST
Work fine on recent build