Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Getters throwing exceptions result in swallowed exceptions and garbled DOM output #504

Closed
yjbanov opened this issue Feb 4, 2014 · 0 comments
Milestone

Comments

@yjbanov
Copy link
Contributor

yjbanov commented Feb 4, 2014

Steps to reproduce:

<div>{{ctrl.myThrowingGetter}}</div>

Expected result: stack trace in console, empty div

Actual result:

In DOM:

<div>Closure: ([dynamic, dynamic, dynamic, dynamic, dynamic]) => dynamic</div>

In console: nothing

@jbdeboer jbdeboer added this to the v0.9.7 milestone Feb 5, 2014
@mhevery mhevery self-assigned this Feb 5, 2014
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
mhevery added a commit to mhevery/angular.dart that referenced this issue Feb 5, 2014
When evaluating 'a.foo' we could get NoSuchMethodError
due to 'a' not having 'foo' or 'a' has 'foo' and
the getter throws NoSuchMethodError.

Fix dart-archive#504
@mhevery mhevery closed this as completed in bde52ab Feb 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants