-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Closed
Copy link
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimeregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix
Milestone
Description
I'm submitting a bug report
When a template includes an assignment such as <button (click)="title = {}"></button>
, AOT Compilation Fails.
Current behavior
AOT Compilation fails with the error:
ERROR in Illegal State: literal maps should have been converted into functions
Expected behavior
AOT Compilation Succeeds without error
Minimal reproduction of the problem with instructions
See reproduction here:
https://github.com/StephenFluin/literal-error-repro
Clone the project, npm install
, ng build -prod
-
Angular version: 4.0.0-rc.1
I also tested with the latest master. -
Node (for AoT issues):
node --version
= v7.6.0
coryrylan
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimeregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix