Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ private static IEnumerable<TestCaseData> RenderCases()
"The added member's body could not be fully bound in the hot-reload compilation "
+ "(CS1503: Argument 1: cannot convert); hot reload cannot verify a member it cannot bind, "
+ "so it is skipped. If the name is declared in a new file, pass that file to --files too "
+ "(new files are not selected automatically); run 'uloop compile' only if it still does not bind.");
+ "(new files are not selected automatically). If the name is generated at compile time, "
+ "for example by a source generator, hot reload cannot see it: run 'uloop compile'. "
+ "Also run 'uloop compile' if it still does not bind.");
yield return Case(
HotReloadWorkerReasonCode.AddedMethodBodyBindsCompiledSignature,
new[] { "CS1503: Argument 1: cannot convert", "'Example.Payload'", "'Example.Registry'", "'Assets/Registry.cs'" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ private static void AddAddedMemberTemplates(
"The added member's body could not be fully bound in the hot-reload compilation ({0}); "
+ "hot reload cannot verify a member it cannot bind, so it is skipped. If the name is "
+ "declared in a new file, pass that file to --files too (new files are not selected "
+ "automatically); run 'uloop compile' only if it still does not bind.",
+ "automatically). If the name is generated at compile time, for example by a source "
+ "generator, hot reload cannot see it: run 'uloop compile'. Also run 'uloop compile' if "
+ "it still does not bind.",
1));
// Why the next step is not worded here: which step works (pass the file, leave it
// out, undo the edit and leave it out, or compile) depends on how the file entered the
Expand Down
Loading