File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -663,8 +663,7 @@ abstract class Documentable {
663663
664664// TODO: how do we get rid of this class?
665665class Dynamic extends ModelElement {
666- Dynamic (Element element, Library library)
667- : super (element, library);
666+ Dynamic (Element element, Library library) : super (element, library);
668667
669668 ModelElement get enclosingElement => throw new UnsupportedError ('' );
670669
@@ -1941,9 +1940,7 @@ class TopLevelVariable extends ModelElement
19411940 }
19421941
19431942 String get constantValue {
1944- var v = _variable
1945- .computeNode ()
1946- .toSource ();
1943+ var v = _variable.computeNode ().toSource ();
19471944 if (v == null ) return '' ;
19481945 var string = v.substring (v.indexOf ('=' ) + 1 , v.length).trim ();
19491946 return string.replaceAll (modelType.name, modelType.linkedName);
You can’t perform that action at this time.
0 commit comments