Last active
September 11, 2015 10:52
-
-
Save peschwa/9072d94296c74114aa7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main[1] list | |
14 public SpecialRuntimeException(String msg) { super(msg); } | |
15 } | |
16 public final int resolveAttribute(SixModelObject classHandle, String name) { | |
17 P6OpaqueREPRData rd = (P6OpaqueREPRData)this.st.REPRData; | |
18 => for (int i = 0; i < rd.classHandles.length; i++) { | |
19 if (rd.classHandles[i] == classHandle) { | |
20 Integer idx = rd.nameToHintMap[i].get(name); | |
21 if (idx != null) | |
22 return idx; | |
23 else | |
main[1] dump rd.classHandles[0] | |
rd.classHandles[0] = { | |
org.perl6.nqp.sixmodel.SixModelObject.st: instance of org.perl6.nqp.sixmodel.STable(id=6134) | |
org.perl6.nqp.sixmodel.SixModelObject.sc: instance of org.perl6.nqp.sixmodel.SerializationContext(id=6147) | |
} | |
main[1] dump classHandle | |
classHandle = { | |
org.perl6.nqp.sixmodel.SixModelObject.st: instance of org.perl6.nqp.sixmodel.STable(id=6134) | |
org.perl6.nqp.sixmodel.SixModelObject.sc: instance of org.perl6.nqp.sixmodel.SerializationContext(id=6135) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment