Comments (4)
I was thinking to do that separately, maybe along with tuples support
from sourcery.
@ilyapuchka do we want to add just basic closure as parameter
handling to #72 before merging? I'm thinking that without this it might prevent implementing some features with method reflection?
from sourcery.
As for now I'm imagining using methods reflection for generating methods overrides and being able to construct a method calls, but all of that will require at most passing parameters to original method using their names, as maximum knowing their type names, but no more info about arguments is required.
For 1.0 I would maybe even limit closures support by just detecting closures and stripping unneeded white spaces in their signature.
from sourcery.
@ilyapuchka yeah that was my thinking, so do you want to add that to your pr before we merge it?
from sourcery.
Related Issues (20)
- Windows Support
- Sourcery doesn't properly work when using protocols with primary associated types HOT 2
- Add whitespace trimming configuration for Stencil templates
- [QUESTION] Thread-Safe Mocks HOT 1
- [Bug] Failed to resolve dependencies (SPM issue) HOT 5
- Watch mode only watches sources from last configuration file when passing multiple paths to configuration files using `--config` command line options
- Getting generic requirements from methods HOT 1
- Possible to generate asset catalog constants? HOT 1
- Detecting if a variable is an Enum works if enum is declared in the file but doesn't otherwise. HOT 4
- AutoMockable does not generate valid Swift code during method generic requirement parsing HOT 2
- Swift macros and method bodies HOT 1
- Update CHANGELOG
- Generated code doesn't compile if returning type starts with the "any" keyword HOT 5
- Sourcery not passing variable to .stencil file inside {{ }}
- --cacheBasePath is treated as an absolute path
- `SwiftTemplate` fails to build due to `Invalid manifest` HOT 6
- Pull in protocol info from other projects/targets, without generating for those projects/targets HOT 3
- Typealias resolution replaces unrelated generic types HOT 4
- Crash when regenerate changed file HOT 1
- Old swift-collections version
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 sourcery.