Bug 442790 - Use statement with global class breaks coda assist completion
Summary: Use statement with global class breaks coda assist completion
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 08:02 EDT by Michal Niewrzal CLA
Modified: 2020-05-14 11:30 EDT (History)
2 users (show)

See Also:


Attachments
Exception (3.54 KB, text/plain)
2014-08-28 08:02 EDT, Michal Niewrzal CLA
no flags Details
Screenshot (52.89 KB, image/jpeg)
2014-08-28 08:03 EDT, Michal Niewrzal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Niewrzal CLA 2014-08-28 08:02:47 EDT
Created attachment 246483 [details]
Exception

To reproduce use snippet:

<?php

use mysqli;

class test {
	function function_name() {
		$tmp = new my| // start CA and choose first 'mysqli()'
	}
}

Nothing is completed and exception is thrown (see attachment).
Comment 1 Michal Niewrzal CLA 2014-08-28 08:03:36 EDT
Created attachment 246484 [details]
Screenshot
Comment 2 Michal Niewrzal CLA 2014-08-28 08:44:02 EDT
Small patch: https://git.eclipse.org/r/32482
Comment 4 Sylvia Tancheva CLA 2015-05-22 08:30:05 EDT
Works OK. Closing