Ivo Roefs
Ivo Roefs
How do you handle await? As I understand it, the compiler expects `await` to be inside the source code structure of an async function.
``` async function doAsyncStuffInContainer(func) { return func(); } function doAsyncStuffNow() { await Promise.resolve(1); console.log("we succeeded"); } doAsyncStuffInContainer(doAsyncStuffNow) ``` Is this the js equivalent of what you mean? Evaluating this also...
What would be the benefits? After reading [Why JavaScript Async/Await Blows Promises Away](https://hackernoon.com/6-reasons-why-javascripts-async-await-blows-promises-away-tutorial-c7ec10518dd9) I'm not super convinced. Readability appears to be less problematic in Smalltalk. There might be some advantages...
@bouraqadi Hi Noury, didn't you already address this issue with test methods: `testSerializeIdentityDictionary1Entry` and `testSerializeIdentityDictionary2Entries` ?
This changed method solves it. ``` IceTipVersionModel>>#basicInstall | definition cls | definition := self entity definition. cls := definition realClass. definition isMetaSide ifTrue: [ cls := cls class ]. cls...
Just tested a bit in Pharo8 on Windows 10 and confirm that no shortcut seems to work.
Maybe this provides a building block towards a solution? ```Smalltalk subclassesOf: baseClass ```
`WebBrowser openOn: 'http://pharo.org/'` also works for me. BUT `WebBrowser openOn: 'http://pharo.org'` fails? Alternatively, click the play button on: `WebBrowser class>>#example` Now I'm wondering why I put a trailing slash from...
Just checked again on Pharo 12 with a doit on: WebBrowser openOn: 'http://pharo.org/' Pharo - Welcome to Pharo!