added comment that thereis required check about shadowing
This commit is contained in:
+3
@@ -49,6 +49,9 @@ internal class CodeGenerator(override val context:Context) : ContextUtils {
|
|||||||
function(declaration)
|
function(declaration)
|
||||||
val thisPtr = bitcast(pointerType(classType(declaration.descriptor.containingDeclaration)), load(thisVariable(), tmpVariable()), tmpVariable())
|
val thisPtr = bitcast(pointerType(classType(declaration.descriptor.containingDeclaration)), load(thisVariable(), tmpVariable()), tmpVariable())
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO: check shadowing.
|
||||||
|
*/
|
||||||
declaration.descriptor.containingDeclaration.fields.forEachIndexed { i, descriptor ->
|
declaration.descriptor.containingDeclaration.fields.forEachIndexed { i, descriptor ->
|
||||||
val name = descriptor.name.asString()
|
val name = descriptor.name.asString()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user