Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate dartanalyzer into build #2

Closed
mhevery opened this issue Sep 23, 2014 · 1 comment
Closed

Integrate dartanalyzer into build #2

mhevery opened this issue Sep 23, 2014 · 1 comment

Comments

@mhevery
Copy link
Contributor

mhevery commented Sep 23, 2014

this implies we need angular.dart file which looks something like this:

library angular.dom.main;

export "annotations/directive.dart";
export "annotations/component.dart";
export "annotations/property.dart";
export "annotations/template.dart";
export "annotations/event.dart";
export "directive_injector/annotations.dart";
export "directive_injector/directive_injector.dart";
export "directive_injector/query.dart";
export "view/view.dart";
export "view/view_ref.dart";
export "view/view_factory.dart";
export "view/view_port.dart";
export "view/view_port_ref.dart";

Don't generate that, but we need something like this as public API.

@tbosch tbosch closed this as completed in 100d662 Sep 26, 2014
goderbauer added a commit to goderbauer/angular that referenced this issue Aug 7, 2015
This fixes the following type error that is thrown when calling getAllAngularTestability() while running Dartium in checked mode:

type 'MappedListIterable' is not a subtype of type 'List<PublicTestability>' of 'publicTestabilities'.
#0      GetTestability.addToWindow.<anonymous closure> (package:angular2/src/core/testability/get_testability.dart:92:12)
#1      Function._apply (dart:core-patch/function_patch.dart:7)
angular#2      Function.apply (dart:core-patch/function_patch.dart:28)
angular#3      __invokeFn (package:angular2/src/core/testability/get_testability.dart:26:26)
angular#4      _jsFunction.<anonymous closure> (package:angular2/src/core/testability/get_testability.dart:15:12)
mhevery referenced this issue in mhevery/angular Feb 18, 2016
mhevery referenced this issue in mhevery/angular Feb 18, 2016
mhevery referenced this issue in mhevery/angular Feb 18, 2016
mhevery referenced this issue in mhevery/angular Feb 18, 2016
ottonascarella pushed a commit to ottonascarella/angular that referenced this issue Feb 20, 2018
# This is the 1st commit message:

fix(common): inconsistency on TitleCasePipe

TitleCasePipe was not behaving as expected with non-ascii characters.

# This is the commit message angular#2:

refactor(common): lint errors

# This is the commit message angular#3:

feat(common): more tests for TitleCasePipe

Copied tests from angular#20123, just to make sure fix covers all needs.

# This is the commit message angular#4:

refactor(common): fix linting errors
jbogarthyde added a commit to jbogarthyde/angular that referenced this issue Jul 12, 2018
# This is the 1st commit message:

docs: add api doc to commonly queried elements

# The commit message angular#2 will be skipped:

# fixup! docs: add api doc to commonly queried elements

# The commit message angular#3 will be skipped:

# fixup! docs: add api doc to commonly queried elements
lucasklaassen added a commit to lucasklaassen/angular that referenced this issue Oct 30, 2018
alxhub referenced this issue in alxhub/angular Dec 5, 2018
Previously the ngfactory shim generator in ngtsc would always write two
imports in the factory file shims:

1) an import to @angular/core
2) an import to the base file

If the base file has no exports, import #2 would be empty. This turns out
to cause issues downstream.

This commit changes the generated shim so if there are no exports in the
base file, the generated shim is empty too.
alxhub referenced this issue in alxhub/angular Dec 5, 2018
Previously the ngfactory shim generator in ngtsc would always write two
imports in the factory file shims:

1) an import to @angular/core
2) an import to the base file

If the base file has no exports, import #2 would be empty. This turns out
to cause issues downstream.

This commit changes the generated shim so if there are no exports in the
base file, the generated shim is empty too.
IgorMinar referenced this issue in alxhub/angular Dec 5, 2018
Previously the ngfactory shim generator in ngtsc would always write two
imports in the factory file shims:

1) an import to @angular/core
2) an import to the base file

If the base file has no exports, import #2 would be empty. This turns out
to cause issues downstream.

This commit changes the generated shim so if there are no exports in the
base file, the generated shim is empty too.
IgorMinar pushed a commit that referenced this issue Dec 5, 2018
Previously the ngfactory shim generator in ngtsc would always write two
imports in the factory file shims:

1) an import to @angular/core
2) an import to the base file

If the base file has no exports, import #2 would be empty. This turns out
to cause issues downstream.

This commit changes the generated shim so if there are no exports in the
base file, the generated shim is empty too.

PR Close #27470
FrederikSchlemmer pushed a commit to FrederikSchlemmer/angular that referenced this issue Jan 3, 2019
Previously the ngfactory shim generator in ngtsc would always write two
imports in the factory file shims:

1) an import to @angular/core
2) an import to the base file

If the base file has no exports, import angular#2 would be empty. This turns out
to cause issues downstream.

This commit changes the generated shim so if there are no exports in the
base file, the generated shim is empty too.

PR Close angular#27470
ngfelixl pushed a commit to ngfelixl/angular that referenced this issue Jan 28, 2019
Previously the ngfactory shim generator in ngtsc would always write two
imports in the factory file shims:

1) an import to @angular/core
2) an import to the base file

If the base file has no exports, import angular#2 would be empty. This turns out
to cause issues downstream.

This commit changes the generated shim so if there are no exports in the
base file, the generated shim is empty too.

PR Close angular#27470
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants