Dart语言中的错误

Dart是一种基于对象的编程语言,其中将生成不同类型的错误。

错误和警告

CheckTypeExecution
Compile-timeerrorJIT
staticwarningmost of related to type
dynamicerrorerror in checked mode
runtimeerrorterminates if unhandled
  • 编译时间错误(Compile-time)
    编译器是一种计算机程序,它将另一个计算机程序的人类可读源代码转换为 CPU 可以执行的机器可读代码。
  • 静态警告(static)
    许多但不是全部,静态警告涉及类型,在这种情况下,它们被称为静态类型警告。
  • 动态错误(dynamic)
    动态错误将在运行时出现。
DART 错误
日期:2020-04-11 23:04:01 来源:oir作者:oir