added comment that thereis required check about shadowing

This commit is contained in:
Vasily Levchenko
2016-10-22 09:36:23 +03:00
parent 1b97973dc8
commit 731361f2e9
@@ -49,6 +49,9 @@ internal class CodeGenerator(override val context:Context) : ContextUtils {
function(declaration)
val thisPtr = bitcast(pointerType(classType(declaration.descriptor.containingDeclaration)), load(thisVariable(), tmpVariable()), tmpVariable())
/**
* TODO: check shadowing.
*/
declaration.descriptor.containingDeclaration.fields.forEachIndexed { i, descriptor ->
val name = descriptor.name.asString()