Issue Details (XML | Word | Printable)

Key: BOO-1128
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Rodrigo B. de Oliveira
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

macros should be able to contribute imports to the current module

Created: 21/Jan/09 08:34 PM   Updated: 21/Jan/09 08:43 PM   Resolved: 21/Jan/09 08:43 PM
Return to search
Component/s: Compiler
Affects Version/s: 0.8.2
Fix Version/s: 0.9

Time Tracking:
Not Specified

Testcase included: yes


 Description  « Hide
macro defaultImports:
     yield [| import System |]
     yield [| import System.Collections.Generic |]

defaultImports
Console.WriteLine(List[of int]().GetType().Namespace) # System.Collections.Generic


Rodrigo B. de Oliveira added a comment - 21/Jan/09 08:43 PM

Fixed in revision 3157.


Rodrigo B. de Oliveira made changes - 21/Jan/09 08:43 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]