Index: packages/dart_style/test/regression/0100/0121.stmt |
diff --git a/packages/dart_style/test/regression/0100/0121.stmt b/packages/dart_style/test/regression/0100/0121.stmt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..755c9403c2e89d472df90f1a83bf8bf15272a57c |
--- /dev/null |
+++ b/packages/dart_style/test/regression/0100/0121.stmt |
@@ -0,0 +1,21 @@ |
+>>> (indent 6) |
+ if (!firstArgument.isString) { |
+ DartType type = defaultValue.getType(compiler.coreTypes); |
+ compiler.reportFatalError( |
+ send.arguments.head, |
+ MessageKind.NOT_ASSIGNABLE, |
+ { |
+ 'fromType': type, |
+ 'toType': compiler.stringClass.rawType |
+ }); |
+ return null; |
+ } |
+<<< |
+ if (!firstArgument.isString) { |
+ DartType type = defaultValue.getType(compiler.coreTypes); |
+ compiler.reportFatalError( |
+ send.arguments.head, |
+ MessageKind.NOT_ASSIGNABLE, |
+ {'fromType': type, 'toType': compiler.stringClass.rawType}); |
+ return null; |
+ } |