Issue 620 - Can't use property syntax with a template function #280

Merged
merged 4 commits into from Jan 26, 2012

Projects

None yet

3 participants

@9rnsr
Member
9rnsr commented Jul 29, 2011

http://d.puremagic.com/issues/show_bug.cgi?id=620

opDispatch should allow property syntax.

This patch allows making foo.bar!(args) (DotTemplateInstanceExp) as getter/setter property.
And it also allows DotTemplateExp, too.

The way resolving getter/setter property function is same as #279.

2011/10/08
Add fixes for issue 6738 and 6780.
Issue 6738 - Can't call templatized property function from within a struct/class method
Issue 6780 - Templated global property functions do not work

requires: phobos git://github.com/9rnsr/phobos.git fix_property

@shoo
shoo commented Sep 29, 2011

To use his ValueProxy( 9rnsr/scrap@19fbb3e ), this pull request is important.
++vote;

@9rnsr
Member
9rnsr commented Oct 8, 2011

Add fixes for issue 6738 and 6780. The fixes for the two are similar to for 620.

@9rnsr 9rnsr closed this Nov 15, 2011
@9rnsr 9rnsr reopened this Nov 15, 2011
@9rnsr
Member
9rnsr commented Nov 16, 2011

Update to avoid the use of trySemantic(). Now this pull is based on #279.

@WalterBright WalterBright merged commit 8bc639f into dlang:master Jan 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment