Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: reflectable/lib/src/setup_analyzer.dart

Issue 1473073009: Added `dynamicReflected..Type`, corrected type expressions. (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Review response. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: reflectable/lib/src/setup_analyzer.dart
diff --git a/reflectable/lib/src/setup_analyzer.dart b/reflectable/lib/src/setup_analyzer.dart
index 59ded1bc604ba8fa6fb75707cdaea1dd69e8e661..f1c4d895f915bfc52ae20da613de53f7e492a577 100644
--- a/reflectable/lib/src/setup_analyzer.dart
+++ b/reflectable/lib/src/setup_analyzer.dart
@@ -23,7 +23,7 @@ class AnalyzerSetup {
AnalyzerSetup(this.context, this.sources);
}
-/// Convert [sourcePath] into an absolute path.
+/// Converts [sourcePath] into an absolute path.
String _normalizeSourcePath(String sourcePath) {
if (sourcePath == null) throw new ArgumentError("sourcePath cannot be null");
return new File(sourcePath).absolute.path;
@@ -104,7 +104,7 @@ AnalyzerSetup setupAnalyzer(String sourcePath,
throw new ArgumentError("Analyzing a part");
}
- /// Gather libraries for analysis.
+ /// Gathers libraries for analysis.
Set<Source> gatherLibrarySources(LibraryElement library) {
Set<Source> sources = new Set<Source>();
Set<CompilationUnitElement> units = new Set<CompilationUnitElement>();
« no previous file with comments | « reflectable/lib/src/reflectable_transformer_based.dart ('k') | reflectable/lib/src/transformer_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698