rzel / joose-js

Automatically exported from code.google.com/p/joose-js
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Declaration of missing types #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Declaring a missing type should give an error.

Currently when there is no ReferenceException like in TYPE.Xyz you won't
get an error because the code that checks the isa property checks for null.
It should rather check for "isa in props" and throw an error if the given
property is null.

This might be a good strategy for other places which check properties too.

Original issue reported on code.google.com by malte.ubl on 28 Nov 2008 at 2:56

GoogleCodeExporter commented 9 years ago
Fixed in trunk

Original comment by malte.ubl on 24 Dec 2008 at 1:00