oh there's another bug, I think that came with your checkin r15332

I get these warnings on test/mixins.lzs



test/mixins.lzx:114:7: found an unknown attribute named "sauce" on element
sundae, check the spelling of this attribute name
test/mixins.lzx:114:7: found an unknown attribute named "nuts" on element
sundae, check the spelling of this attribute name
test/mixins.lzx:114:7: found an unknown attribute named "ground" on element
sundae, check the spelling of this attribute name
test/mixins.lzx:114:7: found an unknown attribute named "whippedcream" on
element sundae, check the spelling of this attribute name
test/mixins.lzx:114:7: found an unknown attribute named "cherry" on element
sundae, however there is an attribute named "y" on class attribute", did you
mean to use that?
badtzmaru:trunk hqm$


On Thu, Dec 17, 2009 at 10:01 AM, Henry Minsky <[email protected]>wrote:

> Oops, it just blows up... I'll put in a better check for that.
>
>
> Exception in thread "main" java.lang.AssertionError
>     at
> org.openlaszlo.compiler.NodeModel.getParentClassModel(NodeModel.java:708)
>     at
> org.openlaszlo.compiler.NodeModel.getParentClassModel(NodeModel.java:701)
>     at org.openlaszlo.compiler.NodeModel.<init>(NodeModel.java:114)
>     at
> org.openlaszlo.compiler.NodeModel.elementAsModelInternal(NodeModel.java:578)
>     at org.openlaszlo.compiler.NodeModel.elementAsModel(NodeModel.java:545)
>     at
> org.openlaszlo.compiler.ViewCompiler.compileXML(ViewCompiler.java:243)
>     at org.openlaszlo.compiler.ViewCompiler.compile(ViewCompiler.java:164)
>     at org.openlaszlo.compiler.Compiler.compileElement(Compiler.java:695)
>     at
> org.openlaszlo.compiler.CanvasCompiler.compile(CanvasCompiler.java:177)
>     at org.openlaszlo.compiler.Compiler.compileElement(Compiler.java:695)
>     at org.openlaszlo.compiler.Compiler.compile(Compiler.java:410)
>
>
>
>
>
> On Thu, Dec 17, 2009 at 9:56 AM, P T Withington <[email protected]>wrote:
>
>> What will the following program do:
>>
>> <canvas>
>>  <anonymous>
>>    <handler name="oninit">Debug.info("Can you hear me now?")</handler>
>>  </anonymous>
>> </canvas>
>>
>> I would expect it to give me a compilation error.
>>
>> On 2009-12-16, at 18:13, Henry Minsky wrote:
>>
>> > Change 20091216-hqm-Z by [email protected] on 2009-12-16 18:11:06 EST
>> >    in /Users/hqm/openlaszlo/trunk
>> >    for http://svn.openlaszlo.org/openlaszlo/trunk
>> >
>> > Summary: don't give spurious warning about <anonymous> tags
>> >
>> > New Features:
>> >
>> > Bugs Fixed:
>> >
>> > Technical Reviewer: ptw
>> > QA Reviewer: (pending)
>> > Doc Reviewer: (pending)
>> >
>> > Documentation:
>> >
>> > Release Notes:
>> >
>> > Overview:
>> >
>> >
>> > Details:
>> >
>> > Add <anonymous> as a legal child tag of canvas and library.
>> >
>> > + throw error if user tries to declare a class named "anonymous"
>> >
>> >
>> >
>> > Tests:
>> >
>> > smokecheck compiles without warnings
>> >
>> >
>> > Files:
>> > M       WEB-INF/lps/schema/lfc-undeclared.lzx
>> > M
>> WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassCompiler.java
>> >
>> > Changeset:
>> http://svn.openlaszlo.org/openlaszlo/patches/20091216-hqm-Z.tar
>> > _______________________________________________
>> > Laszlo-reviews mailing list
>> > [email protected]
>> > http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>


-- 
Henry Minsky
Software Architect
[email protected]
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to