History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-904
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

[MetaProgramming] ability to splice expressions wherever type reference are expected

Created: 26/Oct/07 08:32 AM   Updated: 26/Oct/07 09:20 AM
Component/s: None
Affects Version/s: 0.8
Fix Version/s: 0.8.1

Time Tracking:
Not Specified


 Description  « Hide
import Boo.Lang.Compiler.Ast

def test(e as Expression):
	code = [| a as $e |] // expression being used as type reference
	print code.ToCodeString()

test([| Foo |]) // reference
test([| Foo.Bar |]) // member reference
test([| typeof(Foo.Bar) |]) // typeof
test([| List of int |]) // generic reference


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.