Commit 275a5e79 authored by John van Groningen's avatar John van Groningen

fix bug that may occur if a TC class is used in a context of a class, that

is also used in a context of a class
parent 399f2d37
......@@ -929,7 +929,7 @@ expressionToTypeCodeExpression (TypeCodeExpression texpr)
expressionToTypeCodeExpression (ClassVariable var_info_ptr)
= TCE_TypeTerm var_info_ptr
expressionToTypeCodeExpression (Selection NormalSelector (ClassVariable var_info_ptr) selectors)
= TCE_Selector (init selectors) var_info_ptr
= TCE_Selector selectors var_info_ptr
expressionToTypeCodeExpression expr
= abort "expressionToTypeCodeExpression (overloading.icl)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment