Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
The code in CheckEntryPoint provides a very cryptic message when it encounters a class that needs the entry point pragma #35170
The code in CheckEntryPoint in dart_api_impl.cc which checks that a class accessed using the C++ API has the vm entry point pragma produces a very cryptic crash message.
It would be nice if the message indicated which class was being accessed from which library so that the class could be easily fixed.
The code RELEASE_ASSERT(klass.has_pragma())
I already have a fix for this yesterday in https://dart-review.googlesource.com/c/sdk/+/84435