Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f09d58fc5dc53dc5a3b99abb8fd76e944373f8a9..da580aa1e926ee10d00e9de7c4b1d8188d4c71ea 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -880,7 +880,11 @@ class Failure; |
class FixedArrayBase; |
class ObjectVisitor; |
class StringStream; |
-class Type; |
+// Work around the fact that we cannot just say "class Type;" anymore, because |
+// C++ is a pile of garbage with no proper compositionality or abstraction. |
titzer
2013/12/17 09:13:07
Agree with the sentiment--and glad to have a comme
rossberg
2013/12/17 09:33:13
Had to vent. I literally wasted a day trying to fi
|
+template<class> class TypeImpl; |
+class HeapTypeConfig; |
+typedef TypeImpl<HeapTypeConfig> Type; |
// A template-ized version of the IsXXX functions. |