-
Notifications
You must be signed in to change notification settings - Fork 7
Support be-js connected code in funtests #470
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
Changes from all commits
1b3117e
90f64a2
1a3ef4c
ce4651f
9642fd3
4a3bf4c
34cefd4
0fa29fb
60a57b8
68c782e
d338a5d
3fc4f0a
1aaec20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,17 +14,17 @@ class DocJsTranslatorTest { | |
|
|
||
| @Test | ||
| fun stringConcat() = assertGeneratedDocs( | ||
| """ | ||
| $$""" | ||
| |export let bar: String; | ||
| |;;; | ||
| |"foo ${'$'}{ bar }" | ||
| |"foo ${bar}" | ||
| """.trimMargin(), | ||
| want = """ | ||
| want = $$""" | ||
| |// #region __BOILERPLATE__ {{{ | ||
| |/** @type {string} */ | ||
| |export let bar; | ||
| |// #endregion }}} | ||
| |`foo ${'$'}{ bar }`; | ||
| |`foo ${ bar }`; | ||
| """.trimMargin(), | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I got into this file when it was failing before exempting doc genre from internal modules. But I kept these cleanups even after repairing doc genre behavior. |
||
| ) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use this for designing and remembering pretty type names, even for non-exported types, so connected code can reference them.
We'll want the same for unexported functions. I think we should change our naming so that all names go unsuffixed (but possibly
_prefixedin some backends) whenever possible. I'm unsure how that relates to our general name selection strategy, but I think we really should do this not just for connected code but also to scare away fewer potential Temper users.