From e5958d3ca1b3a8219701791b8c0f99dd86bc9e29 Mon Sep 17 00:00:00 2001 From: ehilsdal Date: Thu, 29 Jan 2004 15:21:59 +0000 Subject: [PATCH] Fix for Bugzilla Bug 42668 effect of an after returning type incompatible with a join point return type --- docs/progGuideDB/semantics.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/progGuideDB/semantics.xml b/docs/progGuideDB/semantics.xml index 2fe8f7444..379cb1cb2 100644 --- a/docs/progGuideDB/semantics.xml +++ b/docs/progGuideDB/semantics.xml @@ -1464,14 +1464,13 @@ A value is of the appropriate type if it would be assignable to - a variable of that type, in the Java sense. - byte, short, - char and int are - assignable to each other, an int is - assignable to a float parameter, - boolean values are only assignable to - boolean parameters, and reference types work - by instanceof. + a variable of that type, in the Java sense. That is, a + byte value is assignable to a + short parameter but not vice-versa, an + int is assignable to a + float parameter, boolean + values are only assignable to boolean + parameters, and reference types work by instanceof. -- 2.39.5