From 5210b013756b0b00de3a61c6490685c768ff8cbd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 17 Jun 2014 06:48:15 -0700 Subject: [PATCH] Add comment. --- sourcepawn/compiler/sc1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index 540b918a0..b32e48ace 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -3343,6 +3343,7 @@ static void domethodmap() error(108, decltype, mapname); } + // Ensure the methodmap tag is compatible with |this|. tok = 0; for (mapptr = map; mapptr; mapptr = mapptr->parent) { if (first_arg->tags[0] == mapptr->tag) {