[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
LGTM too. I'll repost and submit this with a test. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
LGTM too. I'll repost and submit this with a test. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
LGTM too. I'll repost and submit this with a test. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
See http://gwt-code-reviews.appspot.com/1602805 http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-29 Thread t . broyer
http://gwt-code-reviews.appspot.com/1604803/diff/1/user/src/com/google/gwt/uibinder/rebind/AbstractFieldWriter.java File user/src/com/google/gwt/uibinder/rebind/AbstractFieldWriter.java (right):

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-29 Thread stephen . haberman
I'm afraid that won't work as expected if ownerField actually is a getter (getterCount 1). I like your suggested change, but can you elaborate on this? I thought getterCount only affected whether the Widgets class gets a field, and that for provided=true purposes, the ownerField really is

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-29 Thread t . broyer
On 2011/11/29 15:23:20, stephenh wrote: I'm afraid that won't work as expected if ownerField actually is a getter (getterCount 1). I like your suggested change, but can you elaborate on this? I thought getterCount only affected whether the Widgets class gets a field, You're right. I

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-29 Thread stephen . haberman
should !designTime.isDesignTime() be added to the test? Dunno, good question; I added Konstantin as a reviewer. Konstantin, do you think the assertion in this patch should be skipped during design time (the assertion is supposed to warn the user when they've marked fields as provided=true but

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-29 Thread scheglov
On 2011/11/29 20:47:56, stephenh wrote: should !designTime.isDesignTime() be added to the test? Dunno, good question; I added Konstantin as a reviewer. Konstantin, do you think the assertion in this patch should be skipped during design time (the assertion is supposed to warn the user