Comments (2)
@electrikmilk, if you could give me a few pointers for some of these past issues, I might be able to help.
Sure, I will do my best. A lot of these issues boil down to variations in data structure for these different actions. They require a custom structure for the value of one of their parameters. Thus they require adding a custom solution to fit their data structure and insert a variable or an inline variable value into their parameters within a make function defined on the action definition.
For example with this issue, these date actions have their make function called adjustDate()
which creates them based on the structure for this type of action. In this case, this has a custom structure for the magnitude value that has a custom serialization type to specify (which most action parameters do not need to specify) and a unit value that needs to be in the same data as the magnitude value, this is not standard for the rest of the actions in the compiler.
For more insight on this fix, check out 04a4e8a, which fixes this issue.
from cherri.
@electrikmilk, if you could give me a few pointers for some of these past issues, I might be able to help.
from cherri.
Related Issues (20)
- url() action only accepts string HOT 1
- `getListItem` and `getListItems` don't work with variables HOT 4
- Backslash/escape character (\) is not being parsed correctly HOT 1
- Unable to insert multiple variables into string value HOT 3
- Using the `takePhotos(count)` function causes an error during parsing HOT 1
- The `getCurrentWeather()` function produces an invalid Shortcut HOT 1
- Unable to limit the number of contacts with `filterContacts` HOT 2
- Issue with retrieving enums from a list HOT 1
- Issue with retrieving unitType enums from a list HOT 1
- Commented includes are still parsed HOT 4
- Defining version 17 stops the shortcut from being signed successfully HOT 1
- `emailAddress`, `phoneNumber`, and `list` do not handle variables correctly HOT 2
- `killApp`, `openApp`, `quitApp`, `hideApp`, and `splitApps` cause the compiler to crash when used with a variable. HOT 1
- Variable arguments to `killAllApps`, `hideAllApps`, and `quitAllApps` are treated as constants HOT 1
- Unable to stop and give a response when input isn't provided HOT 1
- `getListItem` and `getListItems` don't work (properly) with variables HOT 1
- Compiler mistakes `index` (should be number type) for text type in `repeat` loop HOT 2
- Error in Line Printing: Wrong Line Numbers HOT 3
- Convert a Shortcut from a file or iCloud link to Cherri code HOT 11
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 cherri.