mirror of https://github.com/AMT-Cheif/drift.git
Fix converter import prefixes missing in modular mode
This commit is contained in:
parent
16e6aaf4fe
commit
bf3f15909c
|
@ -198,7 +198,9 @@ abstract class _NodeOrWriter {
|
||||||
final buffer = StringBuffer();
|
final buffer = StringBuffer();
|
||||||
|
|
||||||
for (final lexeme in code.elements) {
|
for (final lexeme in code.elements) {
|
||||||
if (lexeme is DartTopLevelSymbol) {
|
if (lexeme is AnnotatedDartCode) {
|
||||||
|
buffer.write(dartCode(lexeme));
|
||||||
|
} else if (lexeme is DartTopLevelSymbol) {
|
||||||
final uri = lexeme.importUri;
|
final uri = lexeme.importUri;
|
||||||
|
|
||||||
if (uri != null) {
|
if (uri != null) {
|
||||||
|
|
Loading…
Reference in New Issue