-
Notifications
You must be signed in to change notification settings - Fork 34
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
valToStrへのtype 'return'の文字列追加 #268
Labels
Comments
|
ブロック内以外のreturnも値のほうが表示されて欲しさはあるような…? |
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PlaygroundやMisskey内のスクラッチパッドで最後に評価されたものが出力される機能があるがreturnを使った場合は必ず
return<null>
になってしまうPlayground、MisskeyのスクラッチパッドはどちらもutillのvalToStrを利用しているようなのでreturnに対してlabelなど設定すればよさそう
simpleの時は返す値をそのまま、そうでなければ
return<任意のvalue文字列>
になるような挙動でよさそうなら手元で試したものがあるのでPRにしますThe text was updated successfully, but these errors were encountered: