From d55974e9efde8171ceac0fe3fd15dcc56845586f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 8 Jun 2013 18:33:42 +0200 Subject: [PATCH] Fixed the type for ::`->(). --- src/las.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/las.c b/src/las.c index 40e3ba53d4..0dfa8c6c57 100644 --- a/src/las.c +++ b/src/las.c @@ -4273,7 +4273,7 @@ void fix_type_field(node *n) case F_MAGIC_INDEX: /* FIXME: Could have a stricter type for ::`->(). */ /* FIXME: */ - MAKE_CONSTANT_TYPE(n->type, tFunc(tMix tOr(tVoid,tInt),tMix)); + MAKE_CONSTANT_TYPE(n->type, tFuncV(tStr tOr(tVoid,tObj) tOr(tVoid,tInt),tVoid,tMix)); break; case F_MAGIC_SET_INDEX: /* FIXME: Could have a stricter type for ::`->=(). */ -- GitLab