This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Resolve relative URL issue #1455
Open
Description
When I try to pub build
and have a folder named "include-gh1415", the URI resolver will throw:
[Error from Dart2JS]:
web/include-gh1415/main_static_type_to_uri_mapper.dart:1:34:
Expected ';' after this.
library angular_dart_example.web.include-gh1415.main.generated_type_uris;
^^^^^^^
[Error from Dart2JS]:
web/include-gh1415/main_static_type_to_uri_mapper.dart:1:41:
Can't have modifier '-' here.
Try replacing modifier '-' with 'var', 'final', or a type.
library angular_dart_example.web.include-gh1415.main.generated_type_uris;
^
[Error from Dart2JS]:
web/include-gh1415/main_static_type_to_uri_mapper.dart:3:1:
Library tags not allowed here.
import 'package:angular/core_dom/type_to_uri_mapper.dart';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:00.004174 to compile angular_dart_example|web/include-gh1415/main_static_type_to_uri_mapper.dart.
[Info from Dart2JS]:
Compiling angular_dart_example|web/include-gh1415/main.dart...
[Error from Dart2JS on angular_dart_example|web/include-gh1415/main.dart]:
web/include-gh1415/main_static_type_to_uri_mapper.dart:1:34:
Expected ';' after this.
library angular_dart_example.web.include-gh1415.main.generated_type_uris;
^^^^^^^
[Error from Dart2JS on angular_dart_example|web/include-gh1415/main.dart]:
web/include-gh1415/main_static_type_to_uri_mapper.dart:1:41:
Can't have modifier '-' here.
Try replacing modifier '-' with 'var', 'final', or a type.
library angular_dart_example.web.include-gh1415.main.generated_type_uris;
^
[Error from Dart2JS on angular_dart_example|web/include-gh1415/main.dart]:
web/include-gh1415/main_static_type_to_uri_mapper.dart:3:1:
Library tags not allowed here.
import 'package:angular/core_dom/type_to_uri_mapper.dart';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@chirayuk @dsalsbury please have a look at this