Comments (6)
I kind of figured it out. I need the overload and pass the boolean itf true
:
(.visitMethodInsn v &op (util/class-desc cls)
mname (util/method-desc desc) true)
but this is currently not supported by insn. Could this be added?
from insn.
Btw, if you're open to adding this option, I could try a PR myself. It would be a nice opportunity to learn more about this library.
from insn.
Sorry for the late reply; I was away from the computer this weekend.
Thanks for bringing this deficiency to my attention. As you noted, this should be a trivial change and I'd be happy to add support for this.
Unless you'd rather send a PR, I'll include this feature along with upgrading the project to test against Clojure 1.11, which I've had on my todo list. I should have this done in the next day or two.
Thanks again.
from insn.
Oh, please go ahead :)
from insn.
I just pushed version 0.5.3 which includes support for the interface flag. Here's a test case adapted from this issue.
Let me know if you have any more issues. Thanks.
from insn.
Thanks a lot!
from insn.
Related Issues (12)
- Clojure AOT compilation bug HOT 1
- Default constructor for Record? HOT 4
- Upgrading to 0.5.3 causes `Constant pool index 75 is invalid` HOT 3
- Can insn output signatures? HOT 5
- Minimal example getting errors (newb) HOT 2
- I love this library HOT 4
- How to use labels? HOT 2
- saving out .class files HOT 3
- try finally HOT 4
- static initializer section HOT 2
- Support for setting the SourceFile attribute of the class HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insn.