Created
March 27, 2019 16:03
-
-
Save lambdageek/0124360d1e0c5f23e1893eb5b6242e3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a8dc6cc6fd0f318ad8b963ea1efe060ed975fd2b Mon Sep 17 00:00:00 2001 | |
From: Aleksey Kliger <alklig@microsoft.com> | |
Date: Wed, 27 Mar 2019 11:58:52 -0400 | |
Subject: [PATCH] print more | |
--- | |
mono/mini/mini-generic-sharing.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/mono/mini/mini-generic-sharing.c b/mono/mini/mini-generic-sharing.c | |
index 53b25ca3293..bdb6c9a8736 100644 | |
--- a/mono/mini/mini-generic-sharing.c | |
+++ b/mono/mini/mini-generic-sharing.c | |
@@ -597,7 +597,7 @@ inflate_info (MonoRuntimeGenericContextInfoTemplate *oti, MonoGenericContext *co | |
} else { | |
ERROR_DECL (error); | |
inflated_method = mono_class_inflate_generic_method_checked (method, context, error); | |
- g_assert (mono_error_ok (error)); /* FIXME don't swallow the error */ | |
+ mono_error_assertf_ok (error, "Could not inflate generic method '%s.%s.%s'", m_class_get_name_space (method->klass), m_class_get_name (method->klass), method->name); | |
} | |
mono_class_init_internal (inflated_method->klass); | |
g_assert (inflated_method->klass == inflated_class); | |
-- | |
2.20.1 (Apple Git-117) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment