-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc cleanups #64
Comments
|
|
|
see also timotheecour/D_vs_nim#36 (comment) Edited: |
|
everywhere in nim files since it's simpler and compat w markdown |
=> a.static |
|
|
|
var ret = "foo1" |
|
eg of big offender: total:
so it's going down... /cc @konsumlamm thanks for your help on this with your cleanup PR's! |
|
|
$nim_prs_D/doc/contributing.rst mentioned in https://nim-lang.github.io/Nim/manual.html#iterators-and-the-for-statement-first-class-iterators but hard to see Caution: the body of a for loop over an inline iterator is inlined into each yield statement appearing in the iterator code, so ideally the code should be refactored to contain a single yield when possible to avoid code bloat. |
deadcode
|
with:
|
factor vmconv.elementType with typetraits.elementType |
targets: "c c++ js" (only a few c++, most are cpp) |
note: might require: |
|
EDIT: see nim-lang#16486 (comment) for remaining assert's to change |
|
|
|
|
refs: nim-lang/fusion#57 (comment) and => fixed in nim-lang#16579 |
move |
when not defined(js):
{.error: "Module jsFFI is designed to be used with the JavaScript backend.".} into these: when not defined(js):
{.fatal: "Module jsFFI is designed to be used with the JavaScript backend.".} rationale: In these case, early abort is correct. noteditto in similar other cases, eg with cpp instead of js etc |
|
not now
|
var (address, client) = await server.socket.acceptAddr()
asyncCheck processClient(server, client, address, callback) => await server.acceptRequest(callback) |
|
|
|
|
|
|
|
|
https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/13280/logs/99 |
Add more JS stuff to dom.nim nim-lang/Nim#13483 (comment)
The text was updated successfully, but these errors were encountered: